Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Add manifest generation to helm chart.
Browse files Browse the repository at this point in the history
To be able to use flux with kustomize, it needs to be started with
--manifest-generation, this was absent in the helm chart. This
commit adds this.
  • Loading branch information
ainmosni authored and stefanprodan committed Aug 8, 2019
1 parent 4119504 commit 9471574
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/flux/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9471574

Please sign in to comment.