Flux image update automation flux
Auto-update image tags in git when new images are pushed
flux create image update <name> --git-repo-ref=<repo> --git-repo-path=./deploy --checkout-branch=main --push-branch=main -n flux-system
more flux
all 29 commands →
Logs of Flux controller
flux logs --kind=kustomize-controller -n flux-system --tail=50
Push image policy
flux create image policy <name> --image-ref=<image-repo> --select-semver='>=1.0.0' -n flux-system
OCI source by semver
flux create source oci <name> --url=oci://reg/repo --tag-semver='>=1.0.0' --interval=5m
Push manifests as OCI artifact
flux push artifact oci://reg/manifests:$(git rev-parse --short HEAD) --path=./manifests --source=$(git config --get remote.origin.url) --revision=$(git rev-parse HEAD)
Diff kustomization vs cluster
flux diff kustomization <name> --path ./overlays/prod