Fix rbac for dashboard backend (#1304)
* fix: fix rbac for dashboard backend Signed-off-by: Oleksii Orel <oorel@redhat.com> Co-authored-by: Anatolii Bazko <abazko@redhat.com>pull/1308/head
parent
4f08657509
commit
c1844de883
|
|
@ -44,6 +44,11 @@ func GetPrivilegedPoliciesRulesForKubernetes() []rbacv1.PolicyRule {
|
|||
Resources: []string{"namespaces"},
|
||||
Verbs: []string{"get", "create", "update", "list"},
|
||||
},
|
||||
{
|
||||
APIGroups: []string{"org.eclipse.che"},
|
||||
Resources: []string{"checlusters"},
|
||||
Verbs: []string{"get", "list", "watch"},
|
||||
},
|
||||
}
|
||||
|
||||
if !util.IsOpenShift {
|
||||
|
|
|
|||
Loading…
Reference in New Issue