mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #92687 from yue9944882/bugfix/suggested-global-default-rule
Fixes suggested global-default flow-schema rules
This commit is contained in:
commit
cf87ecff9b
@ -380,7 +380,7 @@ var (
|
|||||||
"global-default", "global-default", 9900,
|
"global-default", "global-default", 9900,
|
||||||
flowcontrol.FlowDistinguisherMethodByUserType,
|
flowcontrol.FlowDistinguisherMethodByUserType,
|
||||||
flowcontrol.PolicyRulesWithSubjects{
|
flowcontrol.PolicyRulesWithSubjects{
|
||||||
Subjects: groups(serviceaccount.AllServiceAccountsGroup),
|
Subjects: groups(user.AllUnauthenticated, user.AllAuthenticated),
|
||||||
ResourceRules: []flowcontrol.ResourcePolicyRule{resourceRule(
|
ResourceRules: []flowcontrol.ResourcePolicyRule{resourceRule(
|
||||||
[]string{flowcontrol.VerbAll},
|
[]string{flowcontrol.VerbAll},
|
||||||
[]string{flowcontrol.APIGroupAll},
|
[]string{flowcontrol.APIGroupAll},
|
||||||
|
Loading…
Reference in New Issue
Block a user