From c9d907e0f9340f7bcc4a0ce0dd2aaa0dfcd84b98 Mon Sep 17 00:00:00 2001 From: Marco Santonastaso Date: Wed, 30 Oct 2024 16:22:38 +0000 Subject: [PATCH] fix: scheme added to deployments probes in gateway (#127) --- charts/gateway/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/gateway/templates/deployment.yaml b/charts/gateway/templates/deployment.yaml index a3b6b33..65d8943 100644 --- a/charts/gateway/templates/deployment.yaml +++ b/charts/gateway/templates/deployment.yaml @@ -92,11 +92,13 @@ spec: httpGet: path: /health port: {{ .Values.gateway.admin.port }} + scheme: {{ .Values.tls.enable | ternary "HTTPS" "HTTP" }} periodSeconds: 5 startupProbe: httpGet: path: /health port: {{ .Values.gateway.admin.port }} + scheme: {{ .Values.tls.enable | ternary "HTTPS" "HTTP" }} initialDelaySeconds: {{ .Values.gateway.startupProbeDelay | default 10 }} {{- with .Values.resources }} resources: {{- toYaml . | nindent 12 }}