Uploaded image for project: 'OpenStack as Infra'
  1. OpenStack as Infra
  2. OSASINFRA-2343

CI - Step registry - Copy pull secret to cluster-secret-openstack-vexxhost

XMLWordPrintable

    • False
    • False
    • Undefined
    • ShiftStack Sprint 197, ShiftStack Sprint 198

      In order to use the cluster type "openstack-vexxhost",  pull-secrets need to be added to secret: cluster-secrets-${CLUSTER_TYPTE} (cluster-secrets-openstack-vexxhost)

       

      example from ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml

      - name: cluster-profile
        projected:
          sources:
          - secret:
              name: cluster-secrets-openstack-vexxhost
       

       The job file quoted above is not created manually. It is created by the "make job" command and its syntax is checked before merged so we cannot change the name "cluster-secrets-openstack-vexxhost" 

       

      Without it, when any step in the registry that tries to access ${CLUSTER_PROFILE_DIR}/ 

      fails with an error similar to

      /bin/bash: line 14: /var/run/secrets/ci.openshift.io/cluster-profile/pull-secret: No such file or directory 

              adduarte Adolfo Duarte (Inactive)
              adduarte Adolfo Duarte (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: