argoproj-labs / argocd-operator

A Kubernetes operator for managing Argo CD clusters.
https://argocd-operator.readthedocs.io
Apache License 2.0
596 stars 627 forks source link

feat: Add support for Aggregated ClusterRole for cluster scoped instances #1419

Open jparsai opened 3 weeks ago

jparsai commented 3 weeks ago

What type of PR is this? /kind enhancement

What does this PR do / why we need it: This PR enables user to use aggregated cluster roles for application controller in a cluster scoped instances of Argo CD. This will create a base cluster role (argocd-argocd-application-controlle) which can inherit permissions from these two other cluster roles.

Which issue(s) this PR fixes:

Fixes #? This is tracked in Red Hat's issue database here: https://issues.redhat.com/browse/GITOPS-2615

How to test changes / Special notes to the reviewer: