diff --git a/charts/crowdsec/templates/agent-daemonSet.yaml b/charts/crowdsec/templates/agent-daemonSet.yaml index 77739cb..cf8d287 100644 --- a/charts/crowdsec/templates/agent-daemonSet.yaml +++ b/charts/crowdsec/templates/agent-daemonSet.yaml @@ -11,7 +11,7 @@ metadata: version: v1 {{- if .Values.agent.daemonsetAnnotations }} annotations: - {{ toYaml .Values.agent.daemonsetAnnotations | trim | indent 4 }} +{{ toYaml .Values.agent.daemonsetAnnotations | trim | indent 4 }} {{- end }} spec: selector: @@ -25,10 +25,10 @@ spec: checksum/agent-configmap: {{ include (print $.Template.BasePath "/agent-configmap.yaml") . | sha256sum }} checksum/acquis-configmap: {{ include (print $.Template.BasePath "/acquis-configmap.yaml") . | sha256sum }} {{- if .Values.podAnnotations }} - {{- toYaml .Values.podAnnotations | trim | indent 8 }} +{{ toYaml .Values.podAnnotations | trim | indent 8 }} {{- end }} {{- if .Values.agent.podAnnotations }} - {{- toYaml .Values.agent.podAnnotations | trim | indent 8 }} +{{ toYaml .Values.agent.podAnnotations | trim | indent 8 }} {{- end }} labels: k8s-app: {{ .Release.Name }} diff --git a/charts/crowdsec/templates/lapi-deployment.yaml b/charts/crowdsec/templates/lapi-deployment.yaml index f3ae93c..5458894 100644 --- a/charts/crowdsec/templates/lapi-deployment.yaml +++ b/charts/crowdsec/templates/lapi-deployment.yaml @@ -11,7 +11,7 @@ metadata: version: v1 {{- if .Values.lapi.deployAnnotations }} annotations: - {{ toYaml .Values.lapi.deployAnnotations | trim | indent 4 }} +{{ toYaml .Values.lapi.deployAnnotations | trim | indent 4 }} {{- end }} spec: replicas: {{ .Values.lapi.replicas }} @@ -27,10 +27,10 @@ spec: checksum/lapi-secret: {{ include (print $.Template.BasePath "/lapi-secrets.yaml") . | sha256sum }} checksum/lapi-configmap: {{ include (print $.Template.BasePath "/lapi-configmap.yaml") . | sha256sum }} {{- if .Values.podAnnotations }} - {{- toYaml .Values.podAnnotations | trim | indent 8 }} +{{ toYaml .Values.podAnnotations | trim | indent 8 }} {{- end }} {{- if .Values.lapi.podAnnotations }} - {{- toYaml .Values.lapi.podAnnotations | trim | indent 8 }} +{{ toYaml .Values.lapi.podAnnotations | trim | indent 8 }} {{- end }} labels: k8s-app: {{ .Release.Name }}