Skip to content

Commit ec3c51e

Browse files
committed
[zh]update file content/zh/docs/reference/access-authn-authz/abac.md
1 parent c62c9e9 commit ec3c51e

File tree

1 file changed

+4
-4
lines changed
  • content/zh/docs/reference/access-authn-authz

1 file changed

+4
-4
lines changed

content/zh/docs/reference/access-authn-authz/abac.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ properties:
5252
- `group`, type string; if you specify `group`, it must match one of the groups of the authenticated user. `system:authenticated` matches all authenticated requests. `system:unauthenticated` matches all unauthenticated requests.
5353
- Resource-matching properties:
5454
- `apiGroup`, type string; an API group.
55-
- Ex: `extensions`
55+
- Ex: `apps`, `networking.k8s.io`
5656
- Wildcard: `*` matches all API groups.
5757
- `namespace`, type string; a namespace.
5858
- Ex: `kube-system`
5959
- Wildcard: `*` matches all resource requests.
6060
- `resource`, type string; a resource type
61-
- Ex: `pods`
61+
- Ex: `pods`, `deployments`
6262
- Wildcard: `*` matches all resource requests.
6363
- Non-resource-matching properties:
6464
- `nonResourcePath`, type string; non-resource request paths.
@@ -86,13 +86,13 @@ properties:
8686
- `group`,字符串类型;如果指定 `group`,它必须与经过身份验证的用户的一个组匹配,`system:authenticated`匹配所有经过身份验证的请求。`system:unauthenticated`匹配所有未经过身份验证的请求。
8787
- 资源匹配属性:
8888
- `apiGroup`,字符串类型;一个 API 组。
89-
- 例: `extensions`
89+
- 例: `apps`, `networking.k8s.io`
9090
- 通配符:`*`匹配所有 API 组。
9191
- `namespace`,字符串类型;一个命名空间。
9292
- 例如:`kube-system`
9393
- 通配符:`*`匹配所有资源请求。
9494
- `resource`,字符串类型;资源类型。
95-
- 例:`pods`
95+
- 例:`pods`, `deployments`
9696
- 通配符:`*`匹配所有资源请求。
9797
- 非资源匹配属性:
9898
- `nonResourcePath`,字符串类型;非资源请求路径。

0 commit comments

Comments
 (0)