-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Gatekeeper 3.19.1
-
None
-
False
-
-
False
-
-
-
GRC Sprint 2025-23
-
Important
-
None
Description of problem:
When I delete the deployment/gatekeeper-controller-manager the gatekeeper operator does not pick this up automatically. Which means the deployment keeps being absent and thus the webhook controller does not work.
date
Tue Nov 11 13:46:22 CET 2025
oc -n openshift-gatekeeper-system get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
gatekeeper-audit 1/1 1 1 6d21h
gatekeeper-controller-manager 2/2 2 2 2d15h
oc -n openshift-gatekeeper-system delete deployment/gatekeeper-controller-manager
deployment.apps "gatekeeper-controller-manager" deleted
date
Tue Nov 11 13:49:51 CET 2025
oc -n openshift-gatekeeper-system get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
gatekeeper-audit 1/1 1 1 6d21h
Note: I have waited up to 10 minutes and it did not change anything.
Restarting the operator pod is restoring the deployment:
oc -n openshift-operators get pods -l=control-plane=gatekeeper-operator-controller-manager NAME READY STATUS RESTARTS AGE gatekeeper-operator-controller-6c868db9b5-gfdlc 1/1 Running 3 (47h ago) 2d15h
Version-Release number of selected component (if applicable):
oc get csv -n openshift-operators gatekeeper-operator-product.v3.19.1 NAME DISPLAY VERSION REPLACES PHASE gatekeeper-operator-product.v3.19.1 Gatekeeper Operator 3.19.1 gatekeeper-operator-product.v3.19.0 Succeeded oc get clusterversion version NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.19.9 True False 72d Cluster version is 4.19.9
How reproducible: 100%
Steps to Reproduce:
- Install Gatekeeper operator
- Deploy Gatekeeper with default configuration
- Delete the deployment/gatekeeper-controller-manager
- Wait for several minutes
Actual results:
The deployment/gatekeeper-controller-manager will not be re-created by the operator
Expected results:
The deployment/gatekeeper-controller-manager should be re-created by the operator