mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
co-authored by
Kyle Schouviller
parent
bc2eb39d29
commit
5bd10b008a
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user