Skip to content

Commit 910578d

Browse files
committed
[zh-cn] sync reference/audit-annotations.md
1 parent d09e3a1 commit 910578d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,16 @@ PodSecurity 执行中违反的特定策略及对应字段。
139139
140140
Example: `authorization.k8s.io/decision: "forbid"`
141141
142-
This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
142+
Value must be **forbid** or **allow**. This annotation indicates whether or not a request
143+
was authorized in Kubernetes audit logs.
143144
144145
See [Auditing](/docs/tasks/debug/debug-cluster/audit/) for more information.
145146
-->
146147
## authorization.k8s.io/decision {#authorization-k8s-io-decision}
147148

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

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

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

0 commit comments

Comments
 (0)