[stable/heapster] Add support for environment variables (#1919)

* [stable/heapster] Add support for environment variables

* Incorporate code review feedback
This commit is contained in:
Sumit Vij
2017-09-10 13:44:57 -05:00
committed by Michael Goodness
parent f46945b55f
commit 93b0e3f5ef
2 changed files with 7 additions and 0 deletions
@@ -31,6 +31,10 @@ spec:
timeoutSeconds: 5
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.env }}
env:
{{ toYaml .Values.env | indent 10 }}
{{- end }}
command:
{{- range .Values.command }}
- {{ . | quote }}
+3
View File
@@ -45,6 +45,9 @@ command:
- "/heapster"
- "--source=kubernetes.summary_api:''"
## heapster env variables
env: []
## Resizer scales resources linearly with the number of nodes in the cluster
## Resizer is enabled by default
##