fix(argo-cd): Extend K8s RBAC when using UI exec feature (#1326)

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2022-06-14 14:31:39 +02:00 committed by GitHub
parent 04f4cb0ba1
commit 99f97cafd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 7 deletions

View file

@ -27,4 +27,12 @@ rules:
- pods/log
verbs:
- get
{{- end }}
{{- if eq (index .Values.server.config "exec.enabled") "true" }}
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
{{- end }}
{{- end }}