fix(argo-cd): Added pod exec permission to argo-server Role when exec.enabled is True. (#1867)
* 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> * bumped version Signed-off-by: ugoogalizer <signup@mattcurtis.id.au> * Added description of change Signed-off-by: ugoogalizer <signup@mattcurtis.id.au> * Removed trailing whitespace Signed-off-by: ugoogalizer <signup@mattcurtis.id.au> --------- Signed-off-by: ugoogalizer <signup@mattcurtis.id.au> Signed-off-by: Petr Drastil <petr.drastil@gmail.com> Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
fdebbabf17
commit
c21aa4c86a
2 changed files with 11 additions and 3 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue