@@ -514,7 +514,7 @@ subjects:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
```
|
```
|
||||||
|
|
||||||
For all service accounts in the "qa" namespace:
|
For all service accounts in the "qa" group in any namespace:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
subjects:
|
subjects:
|
||||||
@@ -522,6 +522,15 @@ subjects:
|
|||||||
name: system:serviceaccounts:qa
|
name: system:serviceaccounts:qa
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
```
|
```
|
||||||
|
For all service accounts in the "dev" group in the "development" namespace:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
subjects:
|
||||||
|
- kind: Group
|
||||||
|
name: system:serviceaccounts:dev
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
namespace: development
|
||||||
|
```
|
||||||
|
|
||||||
For all service accounts in any namespace:
|
For all service accounts in any namespace:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user