Revert "Populate OpenAPI in all integration tests"

This commit is contained in:
Jeffrey Ying
2022-01-26 13:30:03 -05:00
committed by GitHub
parent be38633742
commit ecb9b620fe
7 changed files with 10 additions and 5 deletions

View File

@@ -535,6 +535,7 @@ 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()