fix(argo): Use https for readiness probe in secure mode (#506)
Signed-off-by: Joseph McGovern <joseph.mcgovern@workiva.com> Co-authored-by: Stefan Sedich <stefan.sedich@gmail.com>
This commit is contained in:
parent
e7258346cc
commit
e6babc874b
3 changed files with 14 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: v2.11.7
|
appVersion: v2.11.7
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.13.8
|
version: 0.13.10
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -38,6 +38,9 @@ spec:
|
||||||
{{- if .Values.server.extraArgs }}
|
{{- if .Values.server.extraArgs }}
|
||||||
{{- toYaml .Values.server.extraArgs | nindent 10 }}
|
{{- toYaml .Values.server.extraArgs | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.server.secure }}
|
||||||
|
- "--secure"
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.singleNamespace }}
|
{{- if .Values.singleNamespace }}
|
||||||
- "--namespaced"
|
- "--namespaced"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -52,7 +55,11 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 2746
|
port: 2746
|
||||||
|
{{- if .Values.server.secure }}
|
||||||
|
scheme: HTTPS
|
||||||
|
{{- else }}
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
|
{{- end }}
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -201,6 +201,12 @@ server:
|
||||||
# PriorityClass: system-cluster-critical
|
# PriorityClass: system-cluster-critical
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
|
# Run the argo server in "secure" mode. Configure this value instead of
|
||||||
|
# "--secure" in extraArgs. See the following documentation for more details
|
||||||
|
# on secure mode:
|
||||||
|
# https://argoproj.github.io/argo/tls/#encrypted
|
||||||
|
secure: false
|
||||||
|
|
||||||
# Extra arguments to provide to the Argo server binary.
|
# Extra arguments to provide to the Argo server binary.
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue