Skip to content

Commit

Permalink
sync extensible-admission-controllers audit-annotations
Browse files Browse the repository at this point in the history
Update audit-annotations.md
  • Loading branch information
asa3311 committed Jul 31, 2024
1 parent d3db76b commit 77b0c7e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ Allowed values are `Exact` or `Equivalent`.

<!--
* `Exact` means a request should be intercepted only if it exactly matches a specified rule.
* `Equivalent` means a request should be intercepted if modifies a resource listed in `rules`,
* `Equivalent` means a request should be intercepted if it modifies a resource listed in `rules`,
even via another API group or version.

In the example given above, the webhook that only registered for `apps/v1` could use `matchPolicy`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,36 @@ Kubernetes API 中不使用以下注解。当你在集群中[启用审计](/zh-c
{{</note>}}

<!-- body -->

<!--
## k8s.io/deprecated
Example: `k8s.io/deprecated: "true"`
Value **must** be "true" or "false". The value "true" indicates that the
request used a deprecated API version.
-->
## k8s.io/deprecated {#k8s-io-deprecated}

例子:`k8s.io/deprecated: "true"`

**必须**为 "true" 或 "false"。值为 "true" 时表示该请求使用了已弃用的 API 版本。

<!--
## k8s.io/removed-release
Example: `k8s.io/removed-release: "1.22"`
Value **must** be in the format "<major>.<minor>". It is set to target the removal release
on requests made to deprecated API versions with a target removal release.
-->
## k8s.io/removed-release {#k8s-io-removed-release}

例子:`k8s.io/removed-release: "1.22"`

**必须**为 "<major>.<minor>" 的格式。当请求使用了已弃用的 API 版本时,
该值会被设置为目标移除的版本。

<!--
## pod-security.kubernetes.io/exempt
Expand Down

0 comments on commit 77b0c7e

Please sign in to comment.