nameSuffix
为所有资源和引用的名称添加后缀。
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
nameSuffix: -v2
deployment 名称从 wordpress
变为 wordpress-v2
。
注意: 如果资源类型是 ConfigMap 或 Secret,则在哈希值之前添加后缀。
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 2020年11月11日: add `zh` dir (6ace8d4)