fix(argo-workflows): sso configuration (#1492)

Signed-off-by: yu-croco <yu.croco@gmail.com>
pull/1493/head argo-workflows-0.19.5
Aikawa 2022-09-27 18:53:04 +09:00 committed by GitHub
parent ab2ab593b3
commit 99aadc56c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ appVersion: v3.4.0
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.19.4
version: 0.19.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: |
- "[Added]: Support Azure Blob Storage for artifact"
- "[Fixed]: Fixed failed sso configuration"

View File

@ -131,9 +131,9 @@ data:
name: {{ .clientSecret.name }}
key: {{ .clientSecret.key }}
redirectUrl: {{ .redirectUrl }}
{{- if and (.rbac) (.rbac.enabled) }}
{{- with .rbac }}
rbac:
enabled: {{ .rbac.enabled }}
enabled: {{ .enabled }}
{{- end }}
{{- if .scopes }}
scopes: {{ toYaml .scopes | nindent 8 }}
@ -141,9 +141,8 @@ data:
{{- if .issuerAlias }}
issuerAlias: {{ .issuerAlias }}
{{- end }}
{{- if and (.sessionExpiry) (.sessionExpiry.duration) }}
sessionExpiry:
duration: {{ .sessionExpiry.duration }}
{{- if .sessionExpiry }}
sessionExpiry: .sessionExpiry
{{- end }}
{{- if .customGroupClaimName }}
customGroupClaimName: {{ .customGroupClaimName }}