From 127beef4cb31c326ea823de1a2f2d908bfd53c73 Mon Sep 17 00:00:00 2001 From: Michael Lin Date: Fri, 24 Jan 2025 16:03:36 -0800 Subject: [PATCH] fix(sourcegraph): do not render SSLMODE twice for grafana sts (#627) regression from https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/617 it's now rendering `_SSLMODE` twice in the grafana sts ### Checklist - [ ] Follow the [manual testing process](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/TEST.md) - [ ] Update [changelog](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/CHANGELOG.md) - [ ] Update [Kubernetes update doc](https://docs.sourcegraph.com/admin/updates/kubernetes) ### Test plan CI (cherry picked from commit bb2d4f14eeaf36ebf35c848b2bc0474c1d0d2725) --- charts/sourcegraph/templates/_helpers.tpl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/charts/sourcegraph/templates/_helpers.tpl b/charts/sourcegraph/templates/_helpers.tpl index de0756c1..87c18720 100644 --- a/charts/sourcegraph/templates/_helpers.tpl +++ b/charts/sourcegraph/templates/_helpers.tpl @@ -216,13 +216,6 @@ app.kubernetes.io/name: jaeger secretKeyRef: key: sslmode name: {{ $secretName }} -{{- if eq $service "grafana" }} -- name: {{ printf "%sSSLMODE" $prefix }} - valueFrom: - secretKeyRef: - key: sslmode - name: {{ $secretName }} -{{- end }} {{- end }} {{- define "sourcegraph.dataSource" -}}