Setting up Flux
Installing Flux
- Make a personal token on github with repo privelages
- Install flux locally (
flux-bin
in AUR if using arch)
- Export
GITHUB_TOKEN
to shell environment
- Run the following command
flux bootstrap github --owner=ShadyF --repository=homelab --branch=master --path=cluster/base --personal
Reconciling using flux
# Reconcile gitcontroller (given that flux-system is the name of the gitcontroller)
flux reconcile source git flux-system
# Reconcile kustomization (given that apps is the name of the kustomization controller)
flux reconcile kustomization apps
# Reconcile a helm release
flux reconcile helmrelease oauth2-proxy -n networking