mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/heapster] Add support for environment variables (#1919)
* [stable/heapster] Add support for environment variables * Incorporate code review feedback
This commit is contained in:
committed by
Michael Goodness
parent
f46945b55f
commit
93b0e3f5ef
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user