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

--registry-overrides not applied to CVO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.z, 4.18.0
    • HyperShift
    • None
    • Hypershift Sprint 263
    • 1
    • False
    • Hide

      None

      Show
      None

      Steps to Reproduce:

      1. Create an HC on Azure with --registry-overrides=registry.build09.ci.openshift.org/ci-ln-by1nnb2/release=preservehypershiftaks.azurecr.io/release,registry.build09.ci.openshift.org/ci-ln-by1nnb2/stable=preservehypershiftaks.azurecr.io/release 
      
      2. Check image used by CVO's main container
      oc get deploy cluster-version-operator -n clusters-fxie-test -o jsonpath='{.spec.template.spec.containers[0].image}'
      registry.build09.ci.openshift.org/ci-ln-by1nnb2/release:latest

      Expected results:

      CVO should be using images from preservehypershiftaks.azurecr.io

      Additional info:

      The main CVO container uses the release image specified on the HCP resource directly:
      https://github.com/openshift/hypershift/blob/d4190487138083a624b181bfab66f42912fa49d3/control-plane-operator/controllers/hostedcontrolplane/cvo/params.go#L30 

              pstefans@redhat.com Patryk Stefanski
              fxierh Feilian Xie
              He Liu He Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: