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
commit cf87ecff9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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