Commit d9a33d3b authored by songrgg's avatar songrgg Committed by David McKay

add scheme to healthcheck to serve HTTPS

parent e74a6324
......@@ -88,12 +88,14 @@ spec:
httpGet:
path: /ping
port: api
scheme: {{ .Values.livenessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }}
readinessProbe:
httpGet:
path: /ping
port: api
scheme: {{ .Values.readinessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }}
{{- if .Values.startupProbe.enabled }}
......@@ -101,6 +103,7 @@ spec:
httpGet:
path: /ping
port: api
scheme: {{ .Values.startupProbe.scheme | default "HTTP" }}
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }}
periodSeconds: {{ .Values.startupProbe.periodSeconds | default 5 }}
{{- end }}
......
......@@ -21,15 +21,18 @@ serviceAccount:
livenessProbe: {}
# initialDelaySeconds: 30
# timeoutSeconds: 5
# scheme: HTTP
readinessProbe: {}
# initialDelaySeconds: 5
# timeoutSeconds: 1
# scheme: HTTP
startupProbe:
enabled: false
# failureThreshold: 6
# periodSeconds: 5
# scheme: HTTP
## Specify a service type
## NodePort is default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment