mirror of https://github.com/portainer/portainer
fix(nodes): allow standard users to get kube endpoints [EE-6125] (#10572)
Co-authored-by: testa113 <testa113>pull/10578/head
parent
948486df77
commit
f6b78312f4
|
@ -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…
Reference in New Issue