mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Fix incorrect command rendered (#949)
When you read docs the command about enabling RBAC permissions for Kubernetes integration are badly rendered.
This commit is contained in:
parent
e1d7f28951
commit
3216dfdc00
@ -25,7 +25,7 @@ If you have services deployed in kubernetes you will normally use the naming ser
|
|||||||
You can replicate a Permissive. Using RBAC role bindings.
|
You can replicate a Permissive. Using RBAC role bindings.
|
||||||
`Permissive RBAC Permissions <https://kubernetes.io/docs/reference/access-authn-authz/rbac/#permissive-rbac-permissions>`_, k8s api server and token will read from pod .
|
`Permissive RBAC Permissions <https://kubernetes.io/docs/reference/access-authn-authz/rbac/#permissive-rbac-permissions>`_, k8s api server and token will read from pod .
|
||||||
|
|
||||||
.. code-block::json
|
.. code-block::bash
|
||||||
kubectl create clusterrolebinding permissive-binding --clusterrole=cluster-admin --user=admin --user=kubelet --group=system:serviceaccounts
|
kubectl create clusterrolebinding permissive-binding --clusterrole=cluster-admin --user=admin --user=kubelet --group=system:serviceaccounts
|
||||||
|
|
||||||
The following example shows how to set up a ReRoute that will work in kubernetes. The most important thing is the ServiceName which is made up of the
|
The following example shows how to set up a ReRoute that will work in kubernetes. The most important thing is the ServiceName which is made up of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user