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
|
@ -3,7 +3,7 @@ appVersion: v3.5.1
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.38.0
|
version: 0.39.0
|
||||||
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -16,5 +16,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Upgrade Argo Workflows to v3.5.1
|
description: Accept multi auth mode for server.
|
||||||
|
|
|
@ -260,7 +260,8 @@ Fields to note:
|
||||||
| server.GKEmanagedCertificate.domains | list | `["argoworkflows.example.com"]` | Domains for the Google Managed Certificate |
|
| server.GKEmanagedCertificate.domains | list | `["argoworkflows.example.com"]` | Domains for the Google Managed Certificate |
|
||||||
| server.GKEmanagedCertificate.enabled | bool | `false` | Enable ManagedCertificate custom resource for Google Kubernetes Engine. |
|
| server.GKEmanagedCertificate.enabled | bool | `false` | Enable ManagedCertificate custom resource for Google Kubernetes Engine. |
|
||||||
| server.affinity | object | `{}` | Assign custom [affinity] rules |
|
| server.affinity | object | `{}` | Assign custom [affinity] rules |
|
||||||
| server.authMode | string | `""` | Auth Mode is available from `server` , `client` or `sso`. If you chose `sso` , please configure `.Values.server.sso` as well. |
|
| server.authMode | string | `""` | Deprecated; use server.authModes instead. |
|
||||||
|
| server.authModes | list | `[]` | A list of supported authentication modes. Available values are `server`, `client`, or `sso`. If you provide sso, please configure `.Values.server.sso` as well. |
|
||||||
| server.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. This is only available on HPA apiVersion `autoscaling/v2beta2` and newer |
|
| server.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. This is only available on HPA apiVersion `autoscaling/v2beta2` and newer |
|
||||||
| server.autoscaling.enabled | bool | `false` | Enable Horizontal Pod Autoscaler ([HPA]) for the Argo Server |
|
| server.autoscaling.enabled | bool | `false` | Enable Horizontal Pod Autoscaler ([HPA]) for the Argo Server |
|
||||||
| server.autoscaling.maxReplicas | int | `5` | Maximum number of replicas for the Argo Server [HPA] |
|
| server.autoscaling.maxReplicas | int | `5` | Maximum number of replicas for the Argo Server [HPA] |
|
||||||
|
|
|
@ -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:
|
1. Get Argo Server external IP/domain by running:
|
||||||
|
|
||||||
kubectl --namespace {{ .Release.Namespace }} get services -o wide | grep {{ template "argo-workflows.server.fullname" . }}
|
kubectl --namespace {{ .Release.Namespace }} get services -o wide | grep {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
|
|
@ -55,6 +55,9 @@ spec:
|
||||||
{{- if .Values.server.authMode }}
|
{{- if .Values.server.authMode }}
|
||||||
- "--auth-mode={{ .Values.server.authMode }}"
|
- "--auth-mode={{ .Values.server.authMode }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.server.authModes }}
|
||||||
|
- "--auth-mode={{ . }}"
|
||||||
|
{{- end }}
|
||||||
- "--secure={{ .Values.server.secure }}"
|
- "--secure={{ .Values.server.secure }}"
|
||||||
{{- if .Values.singleNamespace }}
|
{{- if .Values.singleNamespace }}
|
||||||
- "--namespaced"
|
- "--namespaced"
|
||||||
|
|
|
@ -536,10 +536,13 @@ server:
|
||||||
# - name: FOO
|
# - name: FOO
|
||||||
# value: "bar"
|
# value: "bar"
|
||||||
|
|
||||||
# -- Auth Mode is available from `server` , `client` or `sso`. If you chose `sso` , please configure `.Values.server.sso` as well.
|
# -- Deprecated; use server.authModes instead.
|
||||||
## Ref: https://argoproj.github.io/argo-workflows/argo-server-auth-mode/
|
|
||||||
authMode: ""
|
authMode: ""
|
||||||
|
|
||||||
|
# -- A list of supported authentication modes. Available values are `server`, `client`, or `sso`. If you provide sso, please configure `.Values.server.sso` as well.
|
||||||
|
## Ref: https://argoproj.github.io/argo-workflows/argo-server-auth-mode/
|
||||||
|
authModes: []
|
||||||
|
|
||||||
# -- Extra arguments to provide to the Argo server binary.
|
# -- Extra arguments to provide to the Argo server binary.
|
||||||
## Ref: https://argoproj.github.io/argo-workflows/argo-server/#options
|
## Ref: https://argoproj.github.io/argo-workflows/argo-server/#options
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
Loading…
Reference in a new issue