Skip to content

HelmRelease with values.yaml from a git repository #407

Answered by stefanprodan
greenpasta asked this question in Q&A
Discussion options

You must be logged in to vote

The flux create helmrelease command embeds the values from your local values.yaml into the generated HelmRelease object under spec.values, so there is no need to keep the values.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:

git clone fleet-repo
cd fleet-repo

flux create source helm --export > my-cluster/bitnami.yaml
flux create helmrelease redis-myapp > my-cluster/redis-release.yaml

git add && git commit && git push

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@hiddeco
Comment options

@Zialus
Comment options

@gerryfletch
Comment options

@hiddeco
Comment options

@Zialus
Comment options

Answer selected by greenpasta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants