[stable/grafana] Enabling environment variables to be composed from secrets. (#20182)

* [stable/grafana] Moving env declarations after envValueFrom so env variables can be composed from secret values.

Signed-off-by: Kyle Schouviller <kyle0654@hotmail.com>

* [stable/grafana] Bumping chart version

Signed-off-by: Kyle Schouviller <kyle0654@hotmail.com>

Co-authored-by: Kyle Schouviller <kyle0654@hotmail.com>
This commit is contained in:
Kyle Schouviller
2020-01-15 18:10:36 -08:00
committed by Kubernetes Prow Robot
co-authored by Kyle Schouviller
parent bc2eb39d29
commit 5bd10b008a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 4.3.1
version: 4.3.2
appVersion: 6.5.2
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+4 -4
View File
@@ -250,15 +250,15 @@ containers:
name: {{ .Values.smtp.existingSecret }}
key: {{ .Values.smtp.passwordKey | default "password" }}
{{- end }}
{{- range $key, $value := .Values.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- range $key, $value := .Values.envValueFrom }}
- name: {{ $key | quote }}
valueFrom:
{{ toYaml $value | indent 10 }}
{{- end }}
{{- range $key, $value := .Values.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- if .Values.envFromSecret }}
envFrom:
- secretRef: