Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-61080

[OLMv1] CCO support for loki-operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.20
    • OLM / Registry
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The loki-operator store some security token information as Environment variables in Subscription.  It is better to provide similar Environment in OLMv1. 

      For aws:

      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: loki-operator
        namespace: openshift-operators-redhat
      spec:
        channel: stable-5.9
        config:
          env:
            - name: ROLEARN
              value: 'arn:aws:iam::<xxxx>:<xxxx>'
        name: loki-operator
        source: redhat-operators
        sourceNamespace: openshift-marketplace

       

      For Azure :

      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: loki-operator
        namespace: openshift-operators-redhat
      spec:
        channel: stable-6.3
        config:
          env:
            - name: CLIENTID
              value: <hidden>
            - name: TENANTID
              value: <hidden>
            - name: SUBSCRIPTIONID
              value: <hidden>
        installPlanApproval: Manual
        name: loki-operator
        source:  redhat-operators
        sourceNamespace: openshift-marketplace

       

      For GCP:

      spec:
        channel: stable-6.1
        config:
          env:
            - name: PROJECT_NUMBER
              value: '<hidden>'
            - name: POOL_ID
              value: '<hidden>'
            - name: PROVIDER_ID
              value: '<hidden>'
            - name: SERVICE_ACCOUNT_EMAIL
              value: <hidden>@openshift-qe.iam.gserviceaccount.com
        installPlanApproval: Manual
        name: loki-operator
        source: redhat-operators
        sourceNamespace: openshift-marketplace

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-cchantse Catherine Chan-Tse
              rhn-support-anli Anping Li
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: