Skip to content

Commit

Permalink
Merge pull request #48203 from RifeWang/sync-zh-reference/audit-annot…
Browse files Browse the repository at this point in the history
…ations.md

[zh-cn] sync reference/audit-annotations.md
  • Loading branch information
k8s-ci-robot authored Oct 5, 2024
2 parents 225aec9 + 910578d commit daef9cb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,16 @@ PodSecurity 执行中违反的特定策略及对应字段。
Example: `authorization.k8s.io/decision: "forbid"`
This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
Value must be **forbid** or **allow**. This annotation indicates whether or not a request
was authorized in Kubernetes audit logs.
See [Auditing](/docs/tasks/debug/debug-cluster/audit/) for more information.
-->
## authorization.k8s.io/decision {#authorization-k8s-io-decision}

例子:`authorization.k8s.io/decision: "forbid"`

值必须是 **forbid** 或者 **allow**
此注解在 Kubernetes 审计日志中表示请求是否获得授权。

有关详细信息,请参阅[审计](/zh-cn/docs/tasks/debug/debug-cluster/audit/)
Expand Down

0 comments on commit daef9cb

Please sign in to comment.