fix resource limit

This commit is contained in:
jeff
2018-06-29 21:10:14 +08:00
parent 8b61c25f69
commit 859305b517
3 changed files with 17 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ func GetAllRoutersOfUser(username string) ([]coreV1.Service, error) {
allNamespace, namespaces, err := iam.GetUserNamespaces(username, v1.PolicyRule{
Verbs: []string{"get", "list"},
APIGroups: []string{"extensions"},
Resources: []string{"ingresses"},
Resources: []string{"services"},
})
// return by cluster role