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

Co-authored-by: testa113 <testa113>
pull/10578/head
Ali 2023-11-01 19:08:38 +00:00 committed by GitHub
parent 948486df77
commit f6b78312f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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{""},
}, },
{ {