Kustomize
Medium
Generation
What does generatorOptions.disableNameSuffixHash: true change?
Select your answer:
Show answer and explanation
Answer: Generated ConfigMaps and Secrets keep a fixed name, without the hash
Explanation
Without the hash, new data no longer means a new name, so Deployments that use the ConfigMap don't roll out on their own. Use it when another tool expects a fixed name. generatorOptions.immutable is a separate setting.
More medium Kustomize questions
- How can you see what kubectl apply -k would change in the cluster before applying it?
- Can a kustomization include a Helm chart?
- What does kustomize edit fix do?
- An overlay's strategic merge patch fails with "failed to find unique target for patch". What is the usual cause?
- A base and an overlay both have an images entry for nginx with different tags. Which tag ends up in the output?
- Which file names does Kustomize accept for the kustomization file in a directory?