Skip to content

Commit 31142aa

Browse files
yeqiugttengqmwindsonsea
authored
update content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md (#41359)
* Optimize the location of "types.go" to avoid misunderstanding Signed-off-by: liulijin <[email protected]> * Update content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md Co-authored-by: Qiming Teng <[email protected]> * Update content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md Co-authored-by: Qiming Teng <[email protected]> * Update content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md Co-authored-by: Michael <[email protected]> --------- Signed-off-by: liulijin <[email protected]> Co-authored-by: Qiming Teng <[email protected]> Co-authored-by: Michael <[email protected]>
1 parent 1d2727b commit 31142aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/docs/tasks/manage-kubernetes-objects/declarative-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,8 @@ This merges the list as though it was a map where each element is keyed
994994
by `name`.
995995
-->
996996
此合并策略会使用每个字段上的一个名为 `patchMergeKey` 的特殊标签。
997-
Kubernetes 源代码中为每个字段定义了 `patchMergeKey`:
998-
[types.go](https://github.com/kubernetes/api/blob/d04500c8c3dda9c980b668c57abc2ca61efcf5c4/core/v1/types.go#L2747)
997+
Kubernetes 源代码文件 [types.go](https://github.com/kubernetes/api/blob/d04500c8c3dda9c980b668c57abc2ca61efcf5c4/core/v1/types.go#L2747)
998+
为每个字段定义了 `patchMergeKey`。
999999
当合并由 map 组成的 list 时,给定元素中被设置为 `patchMergeKey` 的字段会被
10001000
当做该元素的 map 键值来使用。
10011001

0 commit comments

Comments
 (0)