Skip to content

Commit 77b0c7e

Browse files
committed
sync extensible-admission-controllers audit-annotations
Update audit-annotations.md
1 parent d3db76b commit 77b0c7e

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

content/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

10941094
In the example given above, the webhook that only registered for `apps/v1` could use `matchPolicy`:

content/zh-cn/docs/reference/labels-annotations-taints/audit-annotations.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)