Add note to Kubernetes RBAC docs about RoleBindings and namespaces
This commit is contained in:
parent
3a99c86cb3
commit
523b7f96f8
1 changed files with 4 additions and 1 deletions
|
@ -21,6 +21,9 @@ If your cluster is configured with RBAC, you will need to authorize Træfik to u
|
|||
|
||||
RoleBindings per namespace enable to restrict granted permissions to the very namespaces only that Træfik is watching over, thereby following the least-privileges principle. This is the preferred approach if Træfik is not supposed to watch all namespaces, and the set of namespaces does not change dynamically. Otherwise, a single ClusterRoleBinding must be employed.
|
||||
|
||||
!!! note
|
||||
RoleBindings per namespace are available in Træfik 1.5 and later. Please use ClusterRoleBindings for older versions.
|
||||
|
||||
For the sake of simplicity, this guide will use a ClusterRoleBinding:
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue