Skip to content

Commit b9ef88f

Browse files
replace AdditionalProperties with XPreserveUnknownFields FIXES zalando#1206 (zalando#1248)
1 parent 598c05b commit b9ef88f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/apis/acid.zalan.do/v1/crds.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,8 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
550550
Type: "array",
551551
Items: &apiextv1.JSONSchemaPropsOrArray{
552552
Schema: &apiextv1.JSONSchemaProps{
553-
Type: "object",
554-
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
555-
Allows: true,
556-
},
553+
Type: "object",
554+
XPreserveUnknownFields: util.True(),
557555
},
558556
},
559557
},

0 commit comments

Comments
 (0)