fixes suggested default rules

This commit is contained in:
yue9944882 2020-07-01 15:26:02 +08:00
parent 8b9c9eade3
commit a98f68e5b9

View File

@ -380,7 +380,7 @@ var (
"global-default", "global-default", 9900,
flowcontrol.FlowDistinguisherMethodByUserType,
flowcontrol.PolicyRulesWithSubjects{
Subjects: groups(serviceaccount.AllServiceAccountsGroup),
Subjects: groups(user.AllUnauthenticated, user.AllAuthenticated),
ResourceRules: []flowcontrol.ResourcePolicyRule{resourceRule(
[]string{flowcontrol.VerbAll},
[]string{flowcontrol.APIGroupAll},