mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #42678 from liggitt/user-fuzzer
Automatic merge from submit-queue Fix user fuzzer to avoid round trip flake Fixes #42651
This commit is contained in:
commit
c48b2cab0f
@ -686,6 +686,10 @@ func rbacFuncs(t apitesting.TestingCommon) []interface{} {
|
||||
r.Kind = rbac.UserKind
|
||||
r.APIGroup = rbac.GroupName
|
||||
c.FuzzNoCustom(&r.Name)
|
||||
// user "*" won't round trip because we convert it to the system:authenticated group. try again.
|
||||
for r.Name == "*" {
|
||||
c.FuzzNoCustom(&r.Name)
|
||||
}
|
||||
case 2:
|
||||
r.Kind = rbac.GroupKind
|
||||
r.APIGroup = rbac.GroupName
|
||||
|
Loading…
Reference in New Issue
Block a user