Skip to content

Commit 2bbe6e2

Browse files
author
James Brophy
committed
fix(influxdb3-ent): set container status probes to 'HTTPS' if 'security.tls.enabled: true'
1 parent da54c1d commit 2bbe6e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

charts/influxdb3-enterprise/templates/_helpers.tpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ livenessProbe:
185185
httpGet:
186186
path: /health
187187
port: http
188+
{{- if .Values.security.tls.enabled }}
189+
scheme: HTTPS
190+
{{- end }}
188191
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
189192
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
190193
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
@@ -193,6 +196,9 @@ readinessProbe:
193196
httpGet:
194197
path: /health
195198
port: http
199+
{{- if .Values.security.tls.enabled }}
200+
scheme: HTTPS
201+
{{- end }}
196202
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
197203
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
198204
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
@@ -201,6 +207,9 @@ startupProbe:
201207
httpGet:
202208
path: /health
203209
port: http
210+
{{- if .Values.security.tls.enabled }}
211+
scheme: HTTPS
212+
{{- end }}
204213
initialDelaySeconds: {{ .Values.probes.startup.initialDelaySeconds }}
205214
periodSeconds: {{ .Values.probes.startup.periodSeconds }}
206215
timeoutSeconds: {{ .Values.probes.startup.timeoutSeconds }}

0 commit comments

Comments
 (0)