Merge pull request #92687 from yue9944882/bugfix/suggested-global-default-rule

Fixes suggested global-default flow-schema rules
This commit is contained in:
Kubernetes Prow Robot
2020-07-09 09:09:18 -07:00
committed by GitHub

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},