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`.
1088
1088
1089
1089
<!--
1090
1090
* `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`,
1092
1092
even via another API group or version.
1093
1093
1094
1094
In 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
33
33
{{</note >}}
34
34
35
35
<!-- 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
+
36
66
<!--
37
67
## pod-security.kubernetes.io/exempt
38
68
You can’t perform that action at this time.
0 commit comments