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: ...@@ -88,12 +88,14 @@ spec:
httpGet: httpGet:
path: /ping path: /ping
port: api port: api
scheme: {{ .Values.livenessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 30 }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }} timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5 }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /ping path: /ping
port: api port: api
scheme: {{ .Values.readinessProbe.scheme | default "HTTP" }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }} initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5 }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }} timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 1 }}
{{- if .Values.startupProbe.enabled }} {{- if .Values.startupProbe.enabled }}
...@@ -101,6 +103,7 @@ spec: ...@@ -101,6 +103,7 @@ spec:
httpGet: httpGet:
path: /ping path: /ping
port: api port: api
scheme: {{ .Values.startupProbe.scheme | default "HTTP" }}
failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }} failureThreshold: {{ .Values.startupProbe.failureThreshold | default 6 }}
periodSeconds: {{ .Values.startupProbe.periodSeconds | default 5 }} periodSeconds: {{ .Values.startupProbe.periodSeconds | default 5 }}
{{- end }} {{- end }}
......
...@@ -21,15 +21,18 @@ serviceAccount: ...@@ -21,15 +21,18 @@ serviceAccount:
livenessProbe: {} livenessProbe: {}
# initialDelaySeconds: 30 # initialDelaySeconds: 30
# timeoutSeconds: 5 # timeoutSeconds: 5
# scheme: HTTP
readinessProbe: {} readinessProbe: {}
# initialDelaySeconds: 5 # initialDelaySeconds: 5
# timeoutSeconds: 1 # timeoutSeconds: 1
# scheme: HTTP
startupProbe: startupProbe:
enabled: false enabled: false
# failureThreshold: 6 # failureThreshold: 6
# periodSeconds: 5 # periodSeconds: 5
# scheme: HTTP
## Specify a service type ## Specify a service type
## NodePort is default ## 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