Use an OCI source by semver

Tracks an OCI artifact by semver range instead of git, so GitOps runs straight from a registry

flux create source oci <name> --url=oci://reg/repo --tag-semver='>=1.0.0' --interval=5m

tool
flux29 commands
tags
fluxgitopsk8scloud

More flux commands

  • 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)

    Packs manifests into an OCI artifact tagged by commit and adds source and revision metadata

  • flux diff kustomization <name> --path ./overlays/prod

    Server-side dry-run that shows exactly what Flux would change before applying

  • flux tree kustomization <name>

    Lists every object a Kustomization owns, including nested Kustomizations

  • flux build kustomization <name> --path ./ | kubectl apply --dry-run=server -f -

    Renders the final manifests offline with Flux substitutions, then validates them on the server

  • flux get images all -A

    Lists all ImageRepositories, policies and update automations in all namespaces

all 29 flux commands