Fix helm health Probes if tls enabled (#8922)

This commit is contained in:
Robert Fairburn 2022-12-14 12:17:22 -06:00 committed by GitHub
parent f5ea13a800
commit 612c86531b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,10 +269,16 @@ spec:
httpGet:
path: /healthz
port: {{ .Values.fleet.listenPort }}
{{- if .Values.fleet.tls.enabled }}
scheme: HTTPS
{{- end }}
readinessProbe:
httpGet:
path: /healthz
port: {{ .Values.fleet.listenPort }}
{{- if .Values.fleet.tls.enabled }}
scheme: HTTPS
{{- end }}
{{- if or (.Values.fleet.tls.enabled) (.Values.mysql.tls.enabled) (eq .Values.osquery.logging.statusPlugin "filesystem") (eq .Values.osquery.logging.resultPlugin "filesystem") }}
volumeMounts:
- name: tmp