diff --git a/charts/vector/templates/daemonset.yaml b/charts/vector/templates/daemonset.yaml index c189c07..af5f244 100644 --- a/charts/vector/templates/daemonset.yaml +++ b/charts/vector/templates/daemonset.yaml @@ -40,7 +40,7 @@ spec: checksum/extraObjects: {{ include (print $.Template.BasePath "/extra-manifests.yaml") . | sha256sum }} {{- end }} {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} + {{- tpl (toYaml .) $ | nindent 8 }} {{- end }} labels: {{- include "vector.selectorLabels" . | nindent 8 }} diff --git a/charts/vector/templates/deployment.yaml b/charts/vector/templates/deployment.yaml index 701f80c..34d9ae2 100644 --- a/charts/vector/templates/deployment.yaml +++ b/charts/vector/templates/deployment.yaml @@ -41,7 +41,7 @@ spec: checksum/extraObjects: {{ include (print $.Template.BasePath "/extra-manifests.yaml") . | sha256sum }} {{- end }} {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} + {{- tpl (toYaml .) $ | nindent 8 }} {{- end }} labels: {{- include "vector.selectorLabels" . | nindent 8 }} diff --git a/charts/vector/templates/statefulset.yaml b/charts/vector/templates/statefulset.yaml index 26e9710..dbeb6f1 100644 --- a/charts/vector/templates/statefulset.yaml +++ b/charts/vector/templates/statefulset.yaml @@ -49,7 +49,7 @@ spec: checksum/extraObjects: {{ include (print $.Template.BasePath "/extra-manifests.yaml") . | sha256sum }} {{- end }} {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} + {{- tpl (toYaml .) $ | nindent 8 }} {{- end }} labels: {{- include "vector.selectorLabels" . | nindent 8 }}