Skip to content

Commit

Permalink
fix(sourcegraph): do not render SSLMODE twice for grafana sts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellzc committed Jan 24, 2025
1 parent bbc52d1 commit 02c7117
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions charts/sourcegraph/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 02c7117

Please sign in to comment.