-
Has anyone successfully bootstrapped Flux with this template? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, flux is easy to install via helm if I am not mistaken. |
Beta Was this translation helpful? Give feedback.
-
Hi @Venoox, via helm is possible as @mysticaltech wrote or with the provided CLI, but you want to use Kustomize for the optimal workflow. Ground work:You need to create a folder named Kustomization time:Create a file named
Don't worry about the resources yet other than adding the correct path to them, we will come to that below. Secrets and more filesNow you have the basic structure, you need 3 more important files:
This will generate a new SSH key and put it in the secret, you DO NOT want to push this to the git repository. Flux Kustomization and GitRepositoryAbove when creating the
This assumes a repo structure as shown in example repository of Flux, you can change this obviously. Finishing upYou should now have a folder named
And in your the final Flux folder you should have:
This should do the trick of automatically deploying Flux to your newly created cluster after executing I hope this helps and solves your issue, if you have questions feel free to ping me! |
Beta Was this translation helpful? Give feedback.
Hi @Venoox, via helm is possible as @mysticaltech wrote or with the provided CLI, but you want to use Kustomize for the optimal workflow.
For a complete automated bootstrap of the cluster including Flux, you may want to follow my setup shown below!
Ground work:
You need to create a folder named
extra-manifests
, as outlined in the README for Kustomize to be executed after initial K3S installation and you need the Flux CLI, for creating the secret mentioned later.Kustomization time:
Create a file named
kustomization.yaml.tpl
in the folder created above, with this content: