diff --git a/charts/flux2/templates/kustomize-controller.yaml b/charts/flux2/templates/kustomize-controller.yaml index bbb5d3d..6ec7aa0 100644 --- a/charts/flux2/templates/kustomize-controller.yaml +++ b/charts/flux2/templates/kustomize-controller.yaml @@ -13,10 +13,10 @@ metadata: {{- with .Values.kustomizeController.labels }} {{- . | toYaml | nindent 4 }} {{- end }} + {{- with .Values.kustomizeController.deploymentAnnotations }} annotations: - {{- with .Values.kustomizeController.deploymentAnnotations }} {{- . | toYaml | nindent 4 }} - {{- end }} + {{- end }} name: kustomize-controller spec: {{- if kindIs "invalid" .Values.kustomizeController.replicas }} diff --git a/charts/flux2/templates/source-controller.yaml b/charts/flux2/templates/source-controller.yaml index ca0191a..f35e1cd 100644 --- a/charts/flux2/templates/source-controller.yaml +++ b/charts/flux2/templates/source-controller.yaml @@ -13,10 +13,10 @@ metadata: {{- with .Values.sourceController.labels }} {{- . | toYaml | nindent 4 }} {{- end }} + {{- with .Values.sourceController.deploymentAnnotations }} annotations: - {{- with .Values.sourceController.deploymentAnnotations }} {{- . | toYaml | nindent 4 }} - {{- end }} + {{- end }} name: source-controller spec: replicas: 1