Flux image update automation
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
- tool
- flux29 commands
More flux commands
-
flux logs --kind=kustomize-controller -n flux-system --tail=50Follow logs from a specific Flux controller
-
flux create image policy <name> --image-ref=<image-repo> --select-semver='>=1.0.0' -n flux-systemDefine which image tags Flux should track for automation
-
flux create source oci <name> --url=oci://reg/repo --tag-semver='>=1.0.0' --interval=5mTrack an OCI artifact by semver range instead of git; modern: GitOps from a registry
-
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)Package manifests into an OCI artifact tagged by commit; note: embeds source+revision metadata
-
flux diff kustomization <name> --path ./overlays/prodServer-side dry-run showing exactly what Flux would change before applying