diff --git a/install/kubernetes/templates/daemonset.yaml b/install/kubernetes/templates/daemonset.yaml index e6536cdeadc..44636ce677f 100644 --- a/install/kubernetes/templates/daemonset.yaml +++ b/install/kubernetes/templates/daemonset.yaml @@ -24,12 +24,10 @@ spec: template: metadata: annotations: - checksum/configmap: {{ toJson .Values.tetragon | sha256sum }} - {{- if .Values.podAnnotations }} - {{- with .Values.podAnnotations }} + checksum/configmap: {{ toJson .Values.tetragon | sha256sum }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} + {{- end }} labels: {{- with .Values.podLabelsOverride }} {{- toYaml . | nindent 8 }}