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:
parent
04f4cb0ba1
commit
99f97cafd9
3 changed files with 15 additions and 7 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue