forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(manifests): add ClsuterRole/ClusterRoleBinding for applications…
…et controller. (argoproj#16699) Closes argoproj#16698. Signed-off-by: mugioka <okamugi0722@gmail.com>
- Loading branch information
1 parent
8caa6ae
commit dd230c8
Showing
4 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
.../cluster-rbac/applicationset-controller/argocd-applicationset-controller-clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: argocd-applicationset-controller | ||
app.kubernetes.io/part-of: argocd | ||
app.kubernetes.io/component: applicationset-controller | ||
name: argocd-applicationset-controller | ||
rules: | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- applications | ||
- applicationsets | ||
- applicationsets/finalizers | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- applicationsets/status | ||
verbs: | ||
- get | ||
- patch | ||
- update | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- appprojects | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- events | ||
verbs: | ||
- create | ||
- get | ||
- list | ||
- patch | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
verbs: | ||
- create | ||
- update | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- apps | ||
- extensions | ||
resources: | ||
- deployments | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- coordination.k8s.io | ||
resources: | ||
- leases | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch |
16 changes: 16 additions & 0 deletions
16
...r-rbac/applicationset-controller/argocd-applicationset-controller-clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: argocd-applicationset-controller | ||
app.kubernetes.io/part-of: argocd | ||
app.kubernetes.io/component: applicationset-controller | ||
name: argocd-applicationset-controller | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: argocd-applicationset-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: argocd-applicationset-controller | ||
namespace: argocd |
6 changes: 6 additions & 0 deletions
6
manifests/cluster-rbac/applicationset-controller/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- argocd-applicationset-controller-clusterrole.yaml | ||
- argocd-applicationset-controller-clusterrolebinding.yaml |