kustomization.yaml

kustomization.yaml fields and API

bases

在 Kustomization 目录中添加资源。

commonAnnotations

为所有字段添加注释。

commonLabels

为所有资源和 selectors 增加标签。

components

Compose kustomizations.

configMapGenerator

生成 ConfigMap 资源.

crds

增加对 CRD 的支持。

generatorOptions

控制生成 ConfigMapSecret 的行为。

images

修改镜像的名称、tag 或 image digest。

namePrefix

为所有资源和引用的名称添加前缀。

namespace

为所有资源添加 namespace。

nameSuffix

为所有资源和引用的名称添加后缀。

patches

Patch resources

patchesJson6902

使用 json 6902 标准 Patch resources

patchesStrategicMerge

使用 strategic merge patch 标准 Patch resources.

replicas

修改资源的副本数。

secretGenerator

生成 Secret 资源。

vars

Substitute name references.


最后修改 2020年11月11日: add `zh` dir (6ace8d4)