k8wiz
Flux CD
Hard
Concepts

What does the annotation kustomize.toolkit.fluxcd.io/ssa: IfNotPresent do on an object in a Flux source?

Select your answer:

Show answer and explanation

Answer: Flux creates the object if it doesn't exist and never updates it afterwards

Explanation

IfNotPresent suits objects that other controllers change after creation, such as Secrets and webhook configurations that cert-manager fills in. Merge keeps fields added by other tools when they don't overlap, Ignore skips the object, and the default, Override, applies the state from the source.