Skip to content

Commit 9b766ba

Browse files
Merge pull request #18843 from jpeeler/hostpath-pass-39
Allow all nodes to run upstream kube tests
2 parents 30c11ad + d0fcbc6 commit 9b766ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/extended/util/test.go

+3
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ func createTestingNS(baseName string, c kclientset.Interface, labels map[string]
239239
return ns, err
240240
}
241241
addRoleToE2EServiceAccounts(authorizationClient, []kapiv1.Namespace{*ns}, bootstrappolicy.ViewRoleName)
242+
243+
// in practice too many kube tests ignore scheduling constraints
244+
allowAllNodeScheduling(c, ns.Name)
242245
}
243246

244247
// some tests assume they can schedule to all nodes

0 commit comments

Comments
 (0)