Update RBAC documentation for endpoints (#2139)

For the Role named `nginx-ingress-role`, `endpoints` no longer needs or has `create` and `update` permissions.  This confused me, so I hope this helps!
This commit is contained in:
Eli James (Cedric Chin) 2018-02-24 21:31:22 +08:00 committed by Manuel Alejandro de Brito Fontes
parent f26c881e3f
commit 6953ddb8e6

View file

@ -43,7 +43,7 @@ These permissions are granted specific to the nginx-ingress namespace. These
permissions are granted to the Role named `nginx-ingress-role` permissions are granted to the Role named `nginx-ingress-role`
* `configmaps`, `pods`, `secrets`: get * `configmaps`, `pods`, `secrets`: get
* `endpoints`: create, get, update * `endpoints`: get
Furthermore to support leader-election, the nginx-ingress-controller needs to Furthermore to support leader-election, the nginx-ingress-controller needs to
have access to a `configmap` using the resourceName `ingress-controller-leader-nginx` have access to a `configmap` using the resourceName `ingress-controller-leader-nginx`