k8wiz
Flux CD
Hard
Integration

An ImageUpdateAutomation sets spec.policyChangeDelay: 2m, and ImagePolicy changes arrive at minutes 0, 1 and 3. What gets committed?

Select your answer:

Show answer and explanation

Answer: It commits the first two together at 2m and the third in a later run

Explanation

policyChangeDelay defers the run after an ImagePolicy change so that updates arriving within the delay land in one commit. The delay starts at the first change and later changes don't extend it, so the change at minute 3 misses that window and goes into a following run.

Read more about Flux CD