try to tidy up crd v1beta1 usage

This commit is contained in:
David Eads
2021-02-12 14:53:50 -05:00
parent 445cb0609d
commit b261364025
23 changed files with 642 additions and 655 deletions

View File

@@ -89,12 +89,7 @@ func CreateMultiVersionTestCRD(f *framework.Framework, group string, opts ...Opt
Served: true,
Storage: true,
Name: "v1",
Schema: &apiextensionsv1.CustomResourceValidation{
OpenAPIV3Schema: &apiextensionsv1.JSONSchemaProps{
XPreserveUnknownFields: pointer.BoolPtr(true),
Type: "object",
},
},
Schema: fixtures.AllowAllSchema(),
}}
}