File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
content/zh-cn/docs/reference
labels-annotations-taints Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -1088,7 +1088,7 @@ Allowed values are `Exact` or `Equivalent`.
10881088
10891089<!--
10901090* `Exact` means a request should be intercepted only if it exactly matches a specified rule.
1091- * `Equivalent` means a request should be intercepted if modifies a resource listed in `rules`,
1091+ * `Equivalent` means a request should be intercepted if it modifies a resource listed in `rules`,
10921092 even via another API group or version.
10931093
10941094In the example given above, the webhook that only registered for `apps/v1` could use `matchPolicy` :
Original file line number Diff line number Diff line change @@ -33,6 +33,36 @@ Kubernetes API 中不使用以下注解。当你在集群中[启用审计](/zh-c
3333{{</note >}}
3434
3535<!-- body -->
36+
37+ <!--
38+ ## k8s.io/deprecated
39+
40+ Example: `k8s.io/deprecated: "true"`
41+
42+ Value **must** be "true" or "false". The value "true" indicates that the
43+ request used a deprecated API version.
44+ -->
45+ ## k8s.io/deprecated {#k8s-io-deprecated}
46+
47+ 例子:` k8s.io/deprecated: "true" `
48+
49+ 值** 必须** 为 "true" 或 "false"。值为 "true" 时表示该请求使用了已弃用的 API 版本。
50+
51+ <!--
52+ ## k8s.io/removed-release
53+
54+ Example: `k8s.io/removed-release: "1.22"`
55+
56+ Value **must** be in the format "<major>.<minor>". It is set to target the removal release
57+ on requests made to deprecated API versions with a target removal release.
58+ -->
59+ ## k8s.io/removed-release {#k8s-io-removed-release}
60+
61+ 例子:` k8s.io/removed-release: "1.22" `
62+
63+ 值** 必须** 为 "<major >.<minor >" 的格式。当请求使用了已弃用的 API 版本时,
64+ 该值会被设置为目标移除的版本。
65+
3666<!--
3767## pod-security.kubernetes.io/exempt
3868
You can’t perform that action at this time.
0 commit comments