-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.17.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
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.