Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7157

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

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Registry
    • None
    • False
    • None
    • False
    • Not Selected

      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.

              DanielMesser Daniel Messer
              rhn-support-dahernan David Hernandez Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: