Merge pull request #22832 from cofyc/patch-3
Fix the markdown format in authorization.md
This commit is contained in:
@@ -138,8 +138,6 @@ field of the returned object is the result of the query.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create -f - -o yaml << EOF
|
kubectl create -f - -o yaml << EOF
|
||||||
```
|
|
||||||
```
|
|
||||||
apiVersion: authorization.k8s.io/v1
|
apiVersion: authorization.k8s.io/v1
|
||||||
kind: SelfSubjectAccessReview
|
kind: SelfSubjectAccessReview
|
||||||
spec:
|
spec:
|
||||||
@@ -149,7 +147,10 @@ spec:
|
|||||||
verb: create
|
verb: create
|
||||||
namespace: dev
|
namespace: dev
|
||||||
EOF
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
The generated `SelfSubjectAccessReview` is:
|
||||||
|
```
|
||||||
apiVersion: authorization.k8s.io/v1
|
apiVersion: authorization.k8s.io/v1
|
||||||
kind: SelfSubjectAccessReview
|
kind: SelfSubjectAccessReview
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user