diff --git a/chart/flux/templates/deployment.yaml b/chart/flux/templates/deployment.yaml index 8b08ad301..4dd5e8869 100644 --- a/chart/flux/templates/deployment.yaml +++ b/chart/flux/templates/deployment.yaml @@ -186,6 +186,9 @@ spec: {{- if .Values.git.label }} - --git-label={{ .Values.git.label }} {{- end }} + {{- if .Values.git.manifestGeneration }} + - --manifest-generation=true + {{- end }} - --registry-poll-interval={{ .Values.registry.pollInterval }} - --registry-rps={{ .Values.registry.rps }} - --registry-burst={{ .Values.registry.burst }} diff --git a/chart/flux/values.yaml b/chart/flux/values.yaml index dab18b280..57a1be481 100644 --- a/chart/flux/values.yaml +++ b/chart/flux/values.yaml @@ -178,6 +178,8 @@ git: # data: | # [credential "https://github.com"] # username = foo + # Enables manifest generation. For an example see: https://github.com/weaveworks/flux-kustomize-example + manifestGeneration: false registry: # Period at which to check for updated images