Skip to content

Commit c62c9e9

Browse files
authored
Merge pull request #32909 from Sea-n/deprecate-ext
Remove deprecated `extensions` API group in document
2 parents 7c09c7b + 613bb08 commit c62c9e9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ properties:
3333
- `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.
3434
- Resource-matching properties:
3535
- `apiGroup`, type string; an API group.
36-
- Ex: `extensions`
36+
- Ex: `apps`, `networking.k8s.io`
3737
- Wildcard: `*` matches all API groups.
3838
- `namespace`, type string; a namespace.
3939
- Ex: `kube-system`
4040
- Wildcard: `*` matches all resource requests.
4141
- `resource`, type string; a resource type
42-
- Ex: `pods`
42+
- Ex: `pods`, `deployments`
4343
- Wildcard: `*` matches all resource requests.
4444
- Non-resource-matching properties:
4545
- `nonResourcePath`, type string; non-resource request paths.

content/en/docs/reference/access-authn-authz/rbac.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,11 @@ rules:
384384
```
385385

386386
Allow reading/writing Deployments (at the HTTP level: objects with `"deployments"`
387-
in the resource part of their URL) in both the `"extensions"` and `"apps"` API groups:
387+
in the resource part of their URL) in the `"apps"` API groups:
388388

389389
```yaml
390390
rules:
391-
- apiGroups: ["extensions", "apps"]
391+
- apiGroups: ["apps"]
392392
#
393393
# at the HTTP level, the name of the resource for accessing Deployment
394394
# objects is "deployments"
@@ -397,7 +397,7 @@ rules:
397397
```
398398

399399
Allow reading Pods in the core API group, as well as reading or writing Job
400-
resources in the `"batch"` or `"extensions"` API groups:
400+
resources in the `"batch"` API group:
401401

402402
```yaml
403403
rules:
@@ -407,7 +407,7 @@ rules:
407407
# objects is "pods"
408408
resources: ["pods"]
409409
verbs: ["get", "list", "watch"]
410-
- apiGroups: ["batch", "extensions"]
410+
- apiGroups: ["batch"]
411411
#
412412
# at the HTTP level, the name of the resource for accessing Job
413413
# objects is "jobs"

0 commit comments

Comments
 (0)