small fix for postgresql CRD (#1368)

This commit is contained in:
georgebarbarosie 2021-02-18 07:21:26 +00:00 committed by GitHub
parent 41858a702c
commit cee4bf82c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
Items: &apiextv1.JSONSchemaPropsOrArray{ Items: &apiextv1.JSONSchemaPropsOrArray{
Schema: &apiextv1.JSONSchemaProps{ Schema: &apiextv1.JSONSchemaProps{
Type: "object", Type: "object",
Required: []string{"preference, weight"}, Required: []string{"preference", "weight"},
Properties: map[string]apiextv1.JSONSchemaProps{ Properties: map[string]apiextv1.JSONSchemaProps{
"preference": { "preference": {
Type: "object", Type: "object",