replace AdditionalProperties with XPreserveUnknownFields FIXES #1206 (#1248)

This commit is contained in:
Igor Yanchenko 2020-12-10 17:27:03 +02:00 committed by GitHub
parent 598c05b64b
commit b9ef88f842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -551,9 +551,7 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
Items: &apiextv1.JSONSchemaPropsOrArray{
Schema: &apiextv1.JSONSchemaProps{
Type: "object",
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
Allows: true,
},
XPreserveUnknownFields: util.True(),
},
},
},