Skip to content

Commit

Permalink
replace AdditionalProperties with XPreserveUnknownFields FIXES #1206 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yanchenko-igor committed Dec 10, 2020
1 parent 598c05b commit b9ef88f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/apis/acid.zalan.do/v1/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,8 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
Type: "array",
Items: &apiextv1.JSONSchemaPropsOrArray{
Schema: &apiextv1.JSONSchemaProps{
Type: "object",
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
Allows: true,
},
Type: "object",
XPreserveUnknownFields: util.True(),
},
},
},
Expand Down

0 comments on commit b9ef88f

Please sign in to comment.