Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-26242

Gatekeeper operator does not pick up deletion of deployment/gatekeeper-controller-manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Gatekeeper 3.19.1
    • Gatekeeper, GRC
    • None
    • False
    • Hide

      None

      Show
      None
    • 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:

      1. Install Gatekeeper operator
      2. Deploy Gatekeeper with default configuration
      3. Delete the deployment/gatekeeper-controller-manager
      4. 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

      Additional info:

              yikim@redhat.com Yi Rae Kim
              rh-ee-kniederw Kevin Niederwanger
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: