-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(argo-workflows): Accept multi auth mode for server #2336
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,8 @@ spec: | |
{{- with .Values.server.extraArgs }} | ||
{{- toYaml . | nindent 10 }} | ||
{{- end }} | ||
{{- if .Values.server.authMode }} | ||
- "--auth-mode={{ .Values.server.authMode }}" | ||
{{- range .Values.server.authMode }} | ||
- "--auth-mode={{ . }}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
{{- end }} | ||
- "--secure={{ .Values.server.secure }}" | ||
{{- if .Values.singleNamespace }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -538,7 +538,7 @@ server: | |
|
||
# -- Auth Mode is available from `server` , `client` or `sso`. If you chose `sso` , please configure `.Values.server.sso` as well. | ||
## Ref: https://argoproj.github.io/argo-workflows/argo-server-auth-mode/ | ||
authMode: "" | ||
authMode: [] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great change. Thank you. Could this break existing users who have it set to a string? Should we add something in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your review. |
||
|
||
# -- Extra arguments to provide to the Argo server binary. | ||
## Ref: https://argoproj.github.io/argo-workflows/argo-server/#options | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change it to
A list of supported authentication modes. Available values are server, client, or sso. If you provide sso, please configure .Values.server.sso as well.
. That makes it clearer that multiple values can be used.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review. I fixed in 3366c7c 🙋