Skip to content

Commit

Permalink
adding templates for podlabels and additional environments into log r…
Browse files Browse the repository at this point in the history
…outer daemonset.yaml

Signed-off-by: RadOctocode <[email protected]>
  • Loading branch information
RadOctocode committed Feb 29, 2024
1 parent 20e6130 commit 2313a9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/log-router/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
labels:
app: {{ template "fluentd-router.name" . }}
release: {{ .Release.Name }}
{{- if .Values.podLabels}}
{{- toYaml .Values.podLabels | nindent 8}}
{{- end}}
annotations:
checksum/fluentd-extraenv: {{ toYaml .Values.fluentd.extraEnv | sha256sum }}
checksum/reloader-extraenv: {{ toYaml .Values.reloader.extraEnv | sha256sum }}
Expand Down Expand Up @@ -56,6 +59,9 @@ spec:
name: {{ template "fluentd-router.fullname" $root }}
key: fluentd.{{ $key }}
{{- end }}
{{- if .Values.fluentd.additionalEnv}}
{{- toYaml .Values.fluentd.additionalEnv| nindent 10}}
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.prometheusEnabled }}
ports:
Expand Down

0 comments on commit 2313a9f

Please sign in to comment.