HelmRelease with values.yaml from a git repository #407
-
Very new to all this, still trying to wrap my head around it... I bootstrapped with this: Then created a helm source for Redis with this: The created a helm release with this: My question: Can I get the helmrelease to use a values.yaml from a git repository? Ideally "myrepo", so I can keep everything together. If I'm pointing to a local values.yaml file I'm not sure how to keep that up to date in a Gitopsy way. Thanks for any tips! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
The The HelmRelease and HelmRepository manifests should be stored in Git, assuming you've used
|
Beta Was this translation helpful? Give feedback.
The
flux create helmrelease
command embeds the values from your localvalues.yaml
into the generated HelmRelease object underspec.values
, so there is no need to keep thevalues.yaml
in Git. When you want to modify the values, do it directly in the HelmRelease file.The HelmRelease and HelmRepository manifests should be stored in Git, assuming you've used
flux bootstrap
you can export the objects to Git with: