From 612c86531bfe846ed0a9d1437f7d6e0fca547806 Mon Sep 17 00:00:00 2001 From: Robert Fairburn <8029478+rfairburn@users.noreply.github.com> Date: Wed, 14 Dec 2022 12:17:22 -0600 Subject: [PATCH] Fix helm health Probes if tls enabled (#8922) --- charts/fleet/templates/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/fleet/templates/deployment.yaml b/charts/fleet/templates/deployment.yaml index 4cf6d9246e..7f658cce7c 100644 --- a/charts/fleet/templates/deployment.yaml +++ b/charts/fleet/templates/deployment.yaml @@ -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