fix(argo-workflows): Accept multi auth mode for server (#2336)
* fix(argo-workflows): Accept multi auth mode for server Signed-off-by: yu-croco <yu.croco@gmail.com> * chore(argo-workflows): improve description of authMode Signed-off-by: yu-croco <yu.croco@gmail.com> * chore(argo-workflows): keep the older value valid for now as compatibility. Signed-off-by: yu-croco <yu.croco@gmail.com> --------- Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
622aee3850
commit
9840ebedc6
5 changed files with 17 additions and 6 deletions
|
|
@ -1,3 +1,7 @@
|
|||
{{- if .Values.server.authMode }}
|
||||
DEPRECATED option server.authMode - Use server.authModes
|
||||
{{- end }}
|
||||
|
||||
1. Get Argo Server external IP/domain by running:
|
||||
|
||||
kubectl --namespace {{ .Release.Namespace }} get services -o wide | grep {{ template "argo-workflows.server.fullname" . }}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,9 @@ spec:
|
|||
{{- if .Values.server.authMode }}
|
||||
- "--auth-mode={{ .Values.server.authMode }}"
|
||||
{{- end }}
|
||||
{{- range .Values.server.authModes }}
|
||||
- "--auth-mode={{ . }}"
|
||||
{{- end }}
|
||||
- "--secure={{ .Values.server.secure }}"
|
||||
{{- if .Values.singleNamespace }}
|
||||
- "--namespaced"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue