Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit 30b9411

Browse files
author
Matthew Fisher
authored
Merge pull request #80 from awmichel/feature/custom-daemon-environment
feat(charts): Allow custom environment config for fluentd daemon. [redux]
2 parents 31043c8 + d74618f commit 30b9411

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

charts/fluentd/templates/logger-fluentd-daemon.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ spec:
3434
{{- end}}
3535
{{- end}}
3636
env:
37-
{{- range $key, $value := .Values.daemon_environment }}
38-
{{ $key }}: {{ $value }}
39-
{{- end }}
4037
{{- if and (.Values.syslog.host) (.Values.syslog.port)}}
4138
- name: "SYSLOG_HOST"
4239
value: {{.Values.syslog.host | quote }}
4340
- name: "SYSLOG_PORT"
4441
value: {{.Values.syslog.port | quote }}
4542
{{- end}}
43+
{{- range $key, $value := .Values.daemon_environment }}
44+
- name: {{ $key }}
45+
value: {{ $value }}
46+
{{- end }}
4647
volumeMounts:
4748
- name: varlog
4849
mountPath: /var/log

0 commit comments

Comments
 (0)