Create GitRepository source
Register a git repo as a Flux source
flux create source git <name> --url=https://github.com/org/repo --branch=main -n flux-system
More flux commands
-
flux create source helm <name> --url=https://charts.example.com -n flux-systemRegister a Helm chart repository as a Flux source
-
flux create helmrelease <name> --source=HelmRepository/<repo> --chart=<chart> --chart-version='>=1.0.0' -n <ns>Deploy a chart via Flux HelmRelease resource
-
kubectl get events -n flux-system --sort-by='.lastTimestamp' | tail -20Recent events from the flux-system namespace
-
flux delete kustomization <name> -n <ns>Remove a Kustomization or HelmRelease from the cluster
-
flux create image update <name> --git-repo-ref=<repo> --git-repo-path=./deploy --checkout-branch=main --push-branch=main -n flux-systemAuto-update image tags in git when new images are pushed