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

ArgoCD can not use cluster name in RBAC config

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • 5
    • GitOps Crimson Sprint 14, GitOps Crimson Sprint 15

      Description of Problem

      ArgoCD can not use cluster name in RBAC config

      Additional Info

      I also found one upstream issue opened for the same in 2020: https://github.com/argoproj/argo-cd/issues/4712
      But there are no updates on fixing this.

      Problem Reproduction

      Yes

      Reproducibility

      Always

      Prerequisites/Environment

      Any version of OpenShift GitOps

      Steps to Reproduce

      Configure below mentioned RBAC in ArgoCD CR:

      p, role:customer-admin, clusters, *, in-cluster, deny

      This does not work. However, the cluster URL works fine:

      p, role:customer-admin, clusters, *, https://kubernetes.default.svc, deny

      Expected Results

      cluster name should also work.

      Actual Results

      cluster name does not work.

      Workaround (If Possible)

      NA

              rh-ee-ansingh Anand Singh
              rhn-support-disharma Diksha Sharma
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: