Skip to content

Commit 7685758

Browse files
committed
fix: 🐛 missing environment variables support on the second kind
1 parent f37347e commit 7685758

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

charts/dso-grafana/templates/grafana.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,16 @@ spec:
135135
server:
136136
root_url: {{ printf "https://%s/%s/" $.Values.server.url .name }}
137137
serve_from_sub_path: "true"
138+
{{- if $.Values.grafana.env }}
139+
deployment:
140+
spec:
141+
template:
142+
spec:
143+
containers:
144+
- name: grafana
145+
env:
146+
{{- toYaml $.Values.grafana.env | nindent 14 }}
147+
{{- end }}
138148
{{- if not $.Values.grafana.isOpenShift }}
139149
ingress:
140150
{{- if $.Values.server.certManager.enabled }}

0 commit comments

Comments
 (0)