From 02c7117ad1d58dbd558074a3cf41e58692d3c4ed Mon Sep 17 00:00:00 2001 From: Michael Lin Date: Fri, 24 Jan 2025 01:29:18 -0800 Subject: [PATCH] fix(sourcegraph): do not render SSLMODE twice for grafana sts --- charts/sourcegraph/templates/_helpers.tpl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/charts/sourcegraph/templates/_helpers.tpl b/charts/sourcegraph/templates/_helpers.tpl index de0756c1..c4bdfd32 100644 --- a/charts/sourcegraph/templates/_helpers.tpl +++ b/charts/sourcegraph/templates/_helpers.tpl @@ -211,12 +211,7 @@ app.kubernetes.io/name: jaeger secretKeyRef: key: user name: {{ $secretName }} -- name: {{ printf "%sSSLMODE" $prefix }} - valueFrom: - secretKeyRef: - key: sslmode - name: {{ $secretName }} -{{- if eq $service "grafana" }} +{{- if not eq $service "grafana" }} - name: {{ printf "%sSSLMODE" $prefix }} valueFrom: secretKeyRef: