fix(argocd-notifications): Changes to rules RBAC role. (#697)

add role resourceNames argoproj-labs/argocd-notifications#199
allow configmap/secret list verb argoproj-labs/argocd-notifications#244

Signed-off-by: 1Psy <41047934+1Psy@users.noreply.github.com>
This commit is contained in:
Sergey 2021-04-26 21:55:12 +03:00 committed by GitHub
parent 72f71923f2
commit 4e0bf1e19d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 12 deletions

View file

@ -4,6 +4,15 @@ kind: Role
metadata:
name: {{ include "argocd-notifications.name" . }}-bot
rules:
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- argoproj.io
resources:
@ -15,13 +24,4 @@ rules:
- watch
- update
- patch
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
{{ end }}