Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-1786

Allow operators to specify annotations be set on the namespace created by OLM

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • User Interface
    • None
    • False
    • False
    • Undefined

      Proposed title of this feature request

      Allow annotations to be added to namespace/project that OLM creates when installing operators

      What is the nature and description of the request?

      This is related to a requirement of the OpenShift Compliance Operator that requires certain pods to run only on master nodes. Although this can be achieved by setting `nodeSelector` to master nodes, it fails in edge case scenarios where user has explicitly set the `schedulers` `defaultNodeSelector` to say worker. See Bugzilla  1947248 . 

      To address this, the project should be annotated with  `openshift.io/node-selector: “”` which can only be done by OLM at the time the operator is installed or by user manually as a workaround after the operator is installed and fails to come online. 

      So the RFE is to allow operators to specify in their CSV or elsewhere, annotations that should be applied to the namespace/project. 

       

      Why does the customer need this? (List the business requirements here)

      This feature is needed by certain operators that require projects/namespaces to be created with certain annotations already set for the operators to run

      List any affected packages or components.

      • openshift-compliance operator

       

              rhn-coreos-tunwu Tony Wu
              sthaha@redhat.com Sunil Thaha
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: