Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-3959

[Bug] `enabled` flag for ArgoCD workloads does not work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.12.3
    • None
    • None

      Description of problem:

      With RC 1.11.1-1, on setting enabled: false for application controller, redis and server components, roles and rolebindings do not get deleted

      Previous work: https://issues.redhat.com/browse/GITOPS-3667 

      Workaround

      N/A

      Prerequisites (if any, like setup, operators/versions):

      1.11.1 RC

      Steps to Reproduce

      1. Create a namespace scoped argocd instance
      2. Set enabled flag for application controller, redis and server components to false

      Actual results:

      $ oc get roles -n test
      NAME                                        CREATED AT
      argocd-test-argocd-application-controller   2024-02-02T10:11:37Z
      argocd-test-argocd-grafana                  2024-02-02T10:11:37Z
      argocd-test-argocd-redis                    2024-02-02T10:11:37Z
      argocd-test-argocd-redis-ha                 2024-02-02T10:11:37Z
      argocd-test-argocd-server                   2024-02-02T10:11:37Z
      test-read                                   2024-02-02T10:11:37Z 
      
      $ oc get rolebinding -n test
      NAME                                        ROLE                                             AGE
      admin                                       ClusterRole/admin                                20m
      argocd-test-argocd-application-controller   Role/argocd-test-argocd-application-controller   16m
      argocd-test-argocd-grafana                  Role/argocd-test-argocd-grafana                  16m
      argocd-test-argocd-redis                    Role/argocd-test-argocd-redis                    16m
      argocd-test-argocd-redis-ha                 Role/argocd-test-argocd-redis-ha                 16m
      argocd-test-argocd-server                   Role/argocd-test-argocd-server                   16m
      system:deployers                            ClusterRole/system:deployer                      20m
      system:image-builders                       ClusterRole/system:image-builder                 20m
      system:image-pullers                        ClusterRole/system:image-puller                  20m
      test-prometheus-k8s-read-binding            Role/test-read                                   16m

      Expected results:

      Roles and rolebindings for the mentioned components are disabled 

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      • Expected result is met

      Definition of Done:

      • Acceptance criteria is met

      Build Details:

      Index image v4.12: 659980
      Index image v4.13: 659988
      Index image v4.14: 659998

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            isequeir@redhat.com Ishita Sequeira
            rhn-support-vab Varsha B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: