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
|
|
@ -38,6 +38,9 @@ spec:
|
|||
{{- if .Values.server.extraArgs }}
|
||||
{{- toYaml .Values.server.extraArgs | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.server.secure }}
|
||||
- "--secure"
|
||||
{{- end }}
|
||||
{{- if .Values.singleNamespace }}
|
||||
- "--namespaced"
|
||||
{{- end }}
|
||||
|
|
@ -52,7 +55,11 @@ spec:
|
|||
httpGet:
|
||||
path: /
|
||||
port: 2746
|
||||
{{- if .Values.server.secure }}
|
||||
scheme: HTTPS
|
||||
{{- else }}
|
||||
scheme: HTTP
|
||||
{{- end }}
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue