diff --git a/stable/heapster/templates/deployment.yaml b/stable/heapster/templates/deployment.yaml index fd76443aa9..359ac34842 100644 --- a/stable/heapster/templates/deployment.yaml +++ b/stable/heapster/templates/deployment.yaml @@ -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 }} diff --git a/stable/heapster/values.yaml b/stable/heapster/values.yaml index 83bae6b5cf..4bc15b7402 100644 --- a/stable/heapster/values.yaml +++ b/stable/heapster/values.yaml @@ -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 ##