Added pods exec to role permissions

The argocd-server Role requires the pods/exec create permission in order to be able to start the web based terminal as per: https://argo-cd.readthedocs.io/en/stable/operator-manual/web_based_terminal/

This brings the Role in line with the ClusterRole change already made

Signed-off-by: ugoogalizer <signup@mattcurtis.id.au>
This commit is contained in:
ugoogalizer 2023-02-27 18:18:54 +11:00 committed by GitHub
parent 3a6617ce8f
commit d851f5d108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,3 +42,11 @@ rules:
verbs:
- create
- list
{{- if eq (toString (index (coalesce .Values.server.config .Values.configs.cm) "exec.enabled")) "true" }}
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
{{- end }}