Populate OpenAPI in all integration tests

This commit is contained in:
Jefftree
2022-01-25 12:08:52 -08:00
parent 804630ed24
commit eb8f6fe0f9
7 changed files with 5 additions and 10 deletions

View File

@@ -535,7 +535,6 @@ func TestRBAC(t *testing.T) {
"limitrange-patcher": {Name: "limitrange-patcher"},
"user-with-no-permissions": {Name: "user-with-no-permissions"},
})))
controlPlaneConfig.GenericConfig.OpenAPIConfig = framework.DefaultOpenAPIConfig()
_, s, closeFn := framework.RunAnAPIServer(controlPlaneConfig)
defer closeFn()