k8wiz
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.