Bootstrap with GitHub flux
Install Flux and push initial config to GitHub repo
flux bootstrap github --owner=<org> --repository=<repo> --branch=main --path=clusters/production --personal
more flux
all 29 commands →
Create GitRepository source
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system
Create HelmRepository source
flux create source helm <name> --url=https://charts.example.com -n flux-system
Create HelmRelease
flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>
Get Flux events
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20
Delete Flux resource
flux delete kustomization <name> -n <ns>