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:
Nick Fisher 2022-10-26 21:04:37 -04:00 committed by GitHub
parent aa669028b8
commit 55b8b34d20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View file

@ -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"

View file

@ -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 }}

View file

@ -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: