mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
remove duplicate contents and redirect
This commit is contained in:
@@ -6,13 +6,6 @@ description: >
|
||||
为所有资源和引用的名称添加后缀。
|
||||
---
|
||||
|
||||
```yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/zh/api-reference/kustomization/namesuffix/" />
|
||||
|
||||
nameSuffix: -v2
|
||||
```
|
||||
|
||||
deployment 名称从 `wordpress` 变为 `wordpress-v2`。
|
||||
|
||||
**注意:** 如果资源类型是 ConfigMap 或 Secret,则在哈希值之前添加后缀。
|
||||
Moved to https://github.com/kubernetes-sigs/cli-experimental
|
||||
Reference in New Issue
Block a user