Skip to content

Commit ef27a0c

Browse files
committed
[zh-cn]sync local-object-reference.md
Signed-off-by: xin.li <[email protected]>
1 parent ffe1d67 commit ef27a0c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

content/zh-cn/docs/reference/kubernetes-api/common-definitions/local-object-reference.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ LocalObjectReference 包含足够的信息,可以让你在同一命名空间
3434
<!--
3535
- **name** (string)
3636
37-
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
37+
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
3838
-->
3939
- **name** (string)
4040

41-
被引用者的名称。
42-
更多信息: https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/#names。
43-
44-
45-
46-
41+
被引用者的名称。该字段实际上是必需的,但由于向后兼容性允许为空。
42+
这种类型的实例如果此处具有空值,几乎肯定是错误的。
43+
更多信息:https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/#names。

0 commit comments

Comments
 (0)