Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-16430

Pull secret trait does not work as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2021-M4
    • Fix Version/s: Camel-K-GA
    • Component/s: Camel-K
    • Labels:
      None

      Description

      I am following steps from https://github.com/apache/camel-k/blob/main/e2e/common/traits/pull_secret_test.go

       

      # oc new-project jbouska
      # kamel version
      Camel K Client RedHat 1.4.0
      
      # kamel install
      
      # oc get csv
      red-hat-camel-k-operator.v1.4.0   Red Hat Integration - Camel K   1.4.0     red-hat-camel-k-operator.v1.3.2   Succeeded
      
      # kamel run e2e/common/files/Java.java -t pull-secret.enabled=true -t pull-secret.secret-name=dummy-secret
      
      # oc get pod java-5f888bbcb-5rmrt -o yaml | grep imagePullSecrets -A 2
        imagePullSecrets:
        - name: default-dockercfg-rk9sp
        nodeName: camel-k-47-a-msnjx-worker-0-mdg98
      
      # oc get Integration java -o yaml | grep pull-secret -A 3
          pull-secret:
            configuration:
              enabled: true
              secretName: dummy-secret

       

      As you can see there is only the default imagePullSecret in the pod.

       

        Attachments

          Activity

            People

            Assignee:
            claudio4j Claudio Miranda
            Reporter:
            jbouska Jan Bouska
            Tester:
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: