kustomization.yaml

kustomization.yaml fields and API

Moved to https://github.com/kubernetes-sigs/cli-experimental


bases

Add resources from a kustomization dir.

commonAnnotations

Add annotations to all resources.

commonLabels

Add labels and selectors to add all resources.

components

Compose kustomizations.

configMapGenerator

Generate ConfigMap resources.

crds

Adding CRD support

generatorOptions

Control behavior of ConfigMap and Secret generators.

images

Modify the name, tags and/or digest for images.

namePrefix

Prepends the value to the names of all resources and references.

namespace

Adds namespace to all resources.

nameSuffix

Appends the value to the names of all resources and references.

patches

Patch resources

patchesJson6902

Patch resources using the json 6902 standard

patchesStrategicMerge

Patch resources using the strategic merge patch standard.

replicas

Change the number of replicas for a resource.

resources

Resources to include.

secretGenerator

Generate Secret resources.

vars

Substitute name references.

Last modified November 11, 2020: Remove duplicate kustomize docs content (71b76388)