Skip to content

Commit 54878ed

Browse files
authored
Merge pull request #25823 from rjain21/patch-3
Update rbac.md
2 parents 8774350 + 7a175d5 commit 54878ed

File tree

1 file changed

+10
-1
lines changed
  • content/en/docs/reference/access-authn-authz

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,14 +514,23 @@ subjects:
514514
namespace: kube-system
515515
```
516516

517-
For all service accounts in the "qa" namespace:
517+
For all service accounts in the "qa" group in any namespace:
518518

519519
```yaml
520520
subjects:
521521
- kind: Group
522522
name: system:serviceaccounts:qa
523523
apiGroup: rbac.authorization.k8s.io
524524
```
525+
For all service accounts in the "dev" group in the "development" namespace:
526+
527+
```yaml
528+
subjects:
529+
- kind: Group
530+
name: system:serviceaccounts:dev
531+
apiGroup: rbac.authorization.k8s.io
532+
namespace: development
533+
```
525534

526535
For all service accounts in any namespace:
527536

0 commit comments

Comments
 (0)