Automate container image updates in Git with Flux Image Automation Controller

domain: fluxcd.io/flux/components/image · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install the Flux image-reflector-controller and image-automation-controller components (included in `flux bootstrap` with `--components-extra=image-reflector-controller,image-automation-controller`)
  2. Create an ImageRepository resource pointing to your container registry; annotate it with credentials via a Secret if the registry is private
  3. Create an ImagePolicy referencing the ImageRepository; define a `filterTags` policy (e.g., semver `>=1.0.0`) to select which tag to track
  4. Mark the image reference in your Kubernetes manifest with a Flux marker comment so the automation controller knows which field to update
  5. Create an ImageUpdateAutomation resource pointing to your Git repository and source branch; configure it to commit on detected image changes
  6. Verify with `flux get image policy <name>` that the latest tag is resolved, then check Git for an automated commit updating the image tag

Known gotchas

Related routes

Configure Flux CD image update automation with ImagePolicy semver filtering and ImageUpdateAutomation to auto-commit image tag bumps to Git
Flux CD · 6 steps · unrated
Attest and verify a container image with GitHub Artifact Attestations
docs.github.com · 6 steps · unrated
Generate SLSA provenance for a container image in GitHub Actions with slsa-github-generator
slsa.dev · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans