Files
kustomize/site/content/en/docs/Reference/API/Kustomization File/generatorOptions.md
Nick f3fedac429 Add generator kustomization references (#5447)
* Initial configMapGenerator ref

* Draft configMapGenerator options

* ConfigMapArgs

* Add sources

* Begin to restructure generator spec

* Add ObjectMeta

* Draft kustomization.md

* Draft kustomization file links

* Move bases weight

* Update generatorArgs link to commmon generatorOptions

* Remove api/generators for now

* Update generatorOptions

* Add generatorArgs header

* Add secretGenerator

* Remove ObjectMeta for now

* Draft generators

* Fix secretGenerator

* Cleanup

* Add include shortcode, cleanup generators

* Use common includes

* Update object metadata description

* spelling

* Improve args description
2024-01-10 20:27:05 +01:00

745 B

title, linkTitle, type, weight, description
title linkTitle type weight description
generatorOptions generatorOptions docs 8 Modify behavior of generators.

apiVersion: kustomize.config.k8s.io/v1beta1

generatorOptions

GeneratorOptions modifies resource generation behavior.


  • labels (map[string]string), optional

    Labels to add to all generated resources.

  • annotations (map[string]string), optional

    Annotations to add to all generated resources.

  • disableNameSuffixHash (bool), optional

    DisableNameSuffixHash if true disables the default behavior of adding a suffix to the names of generated resources that is a hash of the resource contents.

  • immutable (bool), optional

    Immutable if true add to all generated resources.