Skip to content

Commit cf87ecf

Browse files
authored
Merge pull request kubernetes#92687 from yue9944882/bugfix/suggested-global-default-rule
Fixes suggested global-default flow-schema rules
2 parents 1e36054 + a98f68e commit cf87ecf

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ var (
380380
"global-default", "global-default", 9900,
381381
flowcontrol.FlowDistinguisherMethodByUserType,
382382
flowcontrol.PolicyRulesWithSubjects{
383-
Subjects: groups(serviceaccount.AllServiceAccountsGroup),
383+
Subjects: groups(user.AllUnauthenticated, user.AllAuthenticated),
384384
ResourceRules: []flowcontrol.ResourcePolicyRule{resourceRule(
385385
[]string{flowcontrol.VerbAll},
386386
[]string{flowcontrol.APIGroupAll},

0 commit comments

Comments
 (0)