mirror of https://github.com/istio/istio.io.git
Fix typos in the authorization task (#3310)
* remove redundant slash * productpager -> productpage * remove bind-productpager-viewer from .spelling
This commit is contained in:
parent
405ad98764
commit
f082496963
|
@ -79,7 +79,6 @@ backend
|
||||||
backends
|
backends
|
||||||
base64
|
base64
|
||||||
BigQuery
|
BigQuery
|
||||||
bind-productpager-viewer
|
|
||||||
bitpipe
|
bitpipe
|
||||||
BluePerf
|
BluePerf
|
||||||
BluePerf
|
BluePerf
|
||||||
|
|
|
@ -198,14 +198,14 @@ The policy does the following:
|
||||||
methods: ["GET"]
|
methods: ["GET"]
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* Creates a `ServiceRoleBinding` `bind-productpager-viewer` which assigns the `productpage-viewer` role to all
|
* Creates a `ServiceRoleBinding` `bind-productpage-viewer` which assigns the `productpage-viewer` role to all
|
||||||
users and services.
|
users and services.
|
||||||
|
|
||||||
{{< text yaml >}}
|
{{< text yaml >}}
|
||||||
apiVersion: "rbac.istio.io/v1alpha1"
|
apiVersion: "rbac.istio.io/v1alpha1"
|
||||||
kind: ServiceRoleBinding
|
kind: ServiceRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: bind-productpager-viewer
|
name: bind-productpage-viewer
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
subjects:
|
subjects:
|
||||||
|
@ -293,7 +293,7 @@ $ kubectl apply -f @samples/bookinfo/platform/kube/rbac/ratings-policy.yaml@
|
||||||
|
|
||||||
The policy does the following:
|
The policy does the following:
|
||||||
|
|
||||||
* Creates a `ServiceRole` `ratings-viewer\` which allows access to the `ratings` service.
|
* Creates a `ServiceRole` `ratings-viewer` which allows access to the `ratings` service.
|
||||||
|
|
||||||
{{< text yaml >}}
|
{{< text yaml >}}
|
||||||
apiVersion: "rbac.istio.io/v1alpha1"
|
apiVersion: "rbac.istio.io/v1alpha1"
|
||||||
|
|
Loading…
Reference in New Issue