fix(argo-workflows): serviceaccount rbac when sso is enabled (#1586)
Signed-off-by: Nick Fisher <nxf5025@gmail.com> Signed-off-by: Nick Fisher <nxf5025@gmail.com>
This commit is contained in:
parent
aa669028b8
commit
55b8b34d20
3 changed files with 5 additions and 9 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.2
|
|||
name: argo-workflows
|
||||
description: A Helm chart for Argo Workflows
|
||||
type: application
|
||||
version: 0.20.4
|
||||
version: 0.20.5
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
sources:
|
||||
|
@ -13,4 +13,4 @@ maintainers:
|
|||
url: https://argoproj.github.io/
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Changed]: Enable to set different imagePullPolicy for mainContainer and executor"
|
||||
- "[Fixed]: Removed invalid rbac block from configmap"
|
||||
|
|
|
@ -131,10 +131,6 @@ data:
|
|||
name: {{ .clientSecret.name }}
|
||||
key: {{ .clientSecret.key }}
|
||||
redirectUrl: {{ .redirectUrl }}
|
||||
{{- with .rbac }}
|
||||
rbac:
|
||||
enabled: {{ .enabled }}
|
||||
{{- end }}
|
||||
{{- if .scopes }}
|
||||
scopes: {{ toYaml .scopes | nindent 8 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -30,7 +30,7 @@ rules:
|
|||
- list
|
||||
- watch
|
||||
- delete
|
||||
{{- if .Values.server.sso }}
|
||||
{{- if .Values.server.sso }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
@ -46,7 +46,7 @@ rules:
|
|||
- secrets
|
||||
verbs:
|
||||
- create
|
||||
{{- if .Values.server.sso.rbac }}
|
||||
{{- if .Values.server.sso.rbac }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
@ -55,8 +55,8 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
|
Loading…
Reference in a new issue