From ee4aa53115317ba9130589477013141be7e07254 Mon Sep 17 00:00:00 2001 From: Yecheng Fu Date: Fri, 31 Jul 2020 11:00:27 +0800 Subject: [PATCH] Fix the command in authorization.md --- .../en/docs/reference/access-authn-authz/authorization.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/docs/reference/access-authn-authz/authorization.md b/content/en/docs/reference/access-authn-authz/authorization.md index 74c433b8ee..db668f818a 100644 --- a/content/en/docs/reference/access-authn-authz/authorization.md +++ b/content/en/docs/reference/access-authn-authz/authorization.md @@ -138,8 +138,6 @@ field of the returned object is the result of the query. ```bash kubectl create -f - -o yaml << EOF -``` -``` apiVersion: authorization.k8s.io/v1 kind: SelfSubjectAccessReview spec: @@ -149,7 +147,10 @@ spec: verb: create namespace: dev EOF +``` +The generated `SelfSubjectAccessReview` is: +``` apiVersion: authorization.k8s.io/v1 kind: SelfSubjectAccessReview metadata: