Skip to main content

ImageUpdateAutomation

Commits automated image updates to a Git repository.

  • Group: image.toolkit.fluxcd.io
  • Version: v1

Fields

FieldLabelTypeRequiredDescription
metadata.nameNamestringYesName for this ImageUpdateAutomation resource.
metadata.namespaceNamespacestringYesNamespace where the resource will be created.
spec.sourceRef.nameGit RepositorystringYesGitRepository containing manifests with image markers.
spec.git.checkout.ref.branchBranchstringNoGit branch to check out (default: main).
spec.update.pathUpdate PathstringNoPath to search for image markers (default: ./).
spec.intervalSync IntervaldurationYesHow often to run the automation (default: 1h).

Example

apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageUpdateAutomation
metadata:
name: example
namespace: flux-system
spec:
interval: 1h
sourceRef:
kind: GitRepository
name: flux-system
git:
checkout:
ref:
branch: main
commit:
author:
email: fluxcdbot@example.com
name: fluxcdbot
messageTemplate: 'Update image'
update:
path: ./clusters/production
strategy: Setters

See the official ImageUpdateAutomation documentation for the complete API.