diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index 772ba388..752e16ee 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -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" diff --git a/charts/argo-workflows/templates/controller/workflow-controller-config-map.yaml b/charts/argo-workflows/templates/controller/workflow-controller-config-map.yaml index 2f6e35b2..2a6aaf7c 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-config-map.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-config-map.yaml @@ -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 }}