fix(nodes): allow standard users to get kube endpoints [EE-6125] (#10572)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali
2023-11-01 19:08:38 +00:00
committed by GitHub
parent 948486df77
commit f6b78312f4

View File

@@ -12,7 +12,7 @@ func getPortainerUserDefaultPolicies() []rbacv1.PolicyRule {
return []rbacv1.PolicyRule{
{
Verbs: []string{"list", "get"},
Resources: []string{"namespaces", "nodes"},
Resources: []string{"namespaces", "nodes", "endpoints"},
APIGroups: []string{""},
},
{