Fix RBAC rules

Signed-off-by: Matteo Ruina <matteo.ruina@gmail.com>
This commit is contained in:
Matteo Ruina 2021-04-06 11:20:31 +02:00
parent b265952521
commit a544879f75
No known key found for this signature in database
GPG key ID: 8F558D438714A98F

View file

@ -6,73 +6,58 @@ metadata:
{{- include "argo-applicationset.labels" . | nindent 4 }}
rules:
- apiGroups:
- argoproj.io
- argoproj.io
resources:
- applications
- applicationsets
- applicationsets/finalizers
- applications
- appprojects
- applicationsets
- applicationsets/finalizers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- argoproj.io
- argoproj.io
resources:
- applicationsets/status
- applicationsets/status
verbs:
- get
- patch
- update
- get
- patch
- update
- apiGroups:
- ''
- ""
resources:
- events
- events
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ''
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ''
- ""
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ''
- apps
- extensions
resources:
- configmaps/status
- deployments
verbs:
- get
- update
- patch
- apiGroups:
- ''
resources:
- events
verbs:
- create
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding