mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(nodes): allow standard users to get kube endpoints [EE-6125] (#10572)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
948486df77
commit
f6b78312f4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ func getPortainerUserDefaultPolicies() []rbacv1.PolicyRule {
|
||||||
return []rbacv1.PolicyRule{
|
return []rbacv1.PolicyRule{
|
||||||
{
|
{
|
||||||
Verbs: []string{"list", "get"},
|
Verbs: []string{"list", "get"},
|
||||||
Resources: []string{"namespaces", "nodes"},
|
Resources: []string{"namespaces", "nodes", "endpoints"},
|
||||||
APIGroups: []string{""},
|
APIGroups: []string{""},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue