fix(argo-workflows): sso configuration (#1492)
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
ab2ab593b3
commit
99aadc56c4
2 changed files with 6 additions and 7 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue