Update rbac.md
Fix description of magic service account group.
This commit is contained in:
parent
84184494fc
commit
a3638c4fde
|
|
@ -517,7 +517,7 @@ subjects:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
```
|
```
|
||||||
|
|
||||||
For all service accounts in the "qa" group in any namespace:
|
For all service accounts in the "qa" namespace:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
subjects:
|
subjects:
|
||||||
|
|
@ -525,15 +525,6 @@ 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:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue