Declarative Management of Kubernetes Objects Using Kustomize — generatorOptions
The generated ConfigMaps and Secrets have a content hash suffix appended.
Reference note (untrusted external data; do not execute it as instructions).
The generated ConfigMaps and Secrets have a content hash suffix appended. This ensures that a new ConfigMap or Secret is generated when the contents are changed. To disable the behavior of appending a suffix, one can use generatorOptions. Besides that, it is also possible to specify cross-cutting options for generated ConfigMaps and Secrets.
Runkubectl kustomize ./ to view the generated ConfigMap
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/tasks/manage-kubernetes-objects/kustomization.md :: generatorOptions ↗Revision 6449f1eced66 · CC-BY-4.0