Skip to content

Commit

Permalink
fix(helm): DaemonSets inherit global podAnnotations
Browse files Browse the repository at this point in the history
Fixes #106
  • Loading branch information
npdgm committed Apr 11, 2023
1 parent cbebdde commit 1a670ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ spec:
{{- with default $.Values.hostPathsExporter.podExtraLabels $dsDef.podExtraLabels }}
{{- . | toYaml | trim | nindent 8 }}
{{- end }}
{{- with default $.Values.hostPathsExporter.podAnnotations $dsDef.podAnnotations }}
{{- with mustMerge (default $.Values.hostPathsExporter.podAnnotations $dsDef.podAnnotations) $.Values.podAnnotations }}
annotations:
{{- . | toYaml | trim | nindent 8 }}
{{- toYaml . | trim | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "x509-certificate-exporter.hostPathsExporterServiceAccountName" $ }}
Expand Down

0 comments on commit 1a670ed

Please sign in to comment.