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

Add annotation to specific secret to avoid being deleted while the imageregistry is in Removed state as per cleanup_controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.17.z
    • none
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      This is related to the functionality that was introduced in OCP 4.15 brandh as per K8s upstream of cleanup_controller: https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/release-4.15/pkg/operator/internalimageregistry/cleanup_controller.go#L179
      It would be great to have a way to omit secrets by an annotation so specific secrets are not deleted or any other way.  

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

          Any version major than 4.15

      How reproducible:

          The controller will always remove it as per design as long as the registry is removed which is commonly used in customer environments.

              fmissi Flavian Missi
              rhn-support-dahernan David Hernandez Fernandez
              None
              None
              XiuJuan Wang XiuJuan Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: