Skip to content

Commit 0be08ca

Browse files
authored
helm: Apply extraEnv to daemonsets (#674)
1 parent 71db91e commit 0be08ca

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ spec:
151151
value: "false"
152152
- name: UPTIME_FROM_FILE
153153
value: {{ .Values.procUptimeFile | quote }}
154+
{{- with .Values.extraEnv }}
155+
{{- toYaml . | nindent 12 }}
156+
{{- end }}
154157
{{- if or .Values.enablePrometheusServer .Values.enableProbesServer }}
155158
ports:
156159
{{- if .Values.enableProbesServer }}

config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ spec:
149149
value: {{ .Values.enableRebalanceDraining | quote }}
150150
- name: ENABLE_SQS_TERMINATION_DRAINING
151151
value: "false"
152+
{{- with .Values.extraEnv }}
153+
{{- toYaml . | nindent 12 }}
154+
{{- end }}
152155
{{- if or .Values.enablePrometheusServer .Values.enableProbesServer }}
153156
ports:
154157
{{- if .Values.enableProbesServer }}

0 commit comments

Comments
 (0)