fix(rbac): Add rights on applicationsets for the application controller (#20352)

Signed-off-by: OpenGuidou <guillaume.doussin@gmail.com>
This commit is contained in:
OpenGuidou
2025-02-06 18:10:11 +01:00
committed by GitHub
parent 4dcabb933e
commit d1574c204f
12 changed files with 15 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ Not recommended for production use. This type of installation is typically used
Argo CD instances for different teams, where each instance will be deploying applications to
external clusters. It will still be possible to deploy to the same cluster (kubernetes.svc.default)
with inputted credentials (i.e. `argocd cluster add <CONTEXT> --in-cluster --namespace <YOUR NAMESPACE>`).
With the default roles included, you will only be able to deploy Argo CD resources (Applications, ApplicationSets
and AppProjects) in the same cluster, as it's only supporting the GitOps mode with real deployments being
done to external clusters.
You can modify that by defining new roles and binding them to the `argocd-application-controller` service account.
> Note: Argo CD CRDs are not included into [namespace-install.yaml](https://github.com/argoproj/argo-cd/blob/master/manifests/namespace-install.yaml).
> and have to be installed separately. The CRD manifests are located in the [manifests/crds](https://github.com/argoproj/argo-cd/blob/master/manifests/crds) directory.

View File

@@ -20,6 +20,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23626,6 +23626,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23617,6 +23617,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23664,6 +23664,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23655,6 +23655,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -104,6 +104,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -95,6 +95,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23653,6 +23653,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -23644,6 +23644,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -93,6 +93,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create

View File

@@ -84,6 +84,7 @@ rules:
- argoproj.io
resources:
- applications
- applicationsets
- appprojects
verbs:
- create