k8wiz
Flux CD
Medium
Integration

Which Flux objects work together to update an image tag in Git when a new version is pushed to a registry?

Select your answer:

Show answer and explanation

Answer: ImageRepository, ImagePolicy and ImageUpdateAutomation

Explanation

image-reflector-controller scans registry tags for each ImageRepository and picks the newest allowed tag for each ImagePolicy. image-automation-controller's ImageUpdateAutomation then edits the marked fields in Git and commits, and Flux applies that commit like any other.