CK.II · CKAD practice question
When Kustomize generates a ConfigMap via configMapGenerator, why does it append a content hash suffix to the ConfigMap name by default?
Check answer and explanation
Correct answer: So changes to ConfigMap data trigger rolling updates on Pods that reference it
Explanation
Appending a hash suffix changes the ConfigMap name whenever its contents change, causing referencing Pod templates to update and roll out cleanly.
Common trap
Appending a hash suffix changes the ConfigMap name whenever its contents change, causing referencing Pod templates to update and roll out cleanly.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.