add documentation and validation for new manifest fields

This commit is contained in:
Felix Kunde
2021-01-20 14:04:43 +01:00
committed by Jan Mußler
parent 679a497837
commit a3eaa98ea7
5 changed files with 26 additions and 2 deletions
+6
View File
@@ -835,6 +835,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
Type: "object",
Required: []string{"size"},
Properties: map[string]apiextv1.JSONSchemaProps{
"iops": {
Type: "integer",
},
"size": {
Type: "string",
Description: "Value must not be zero",
@@ -846,6 +849,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
"subPath": {
Type: "string",
},
"throughput": {
Type: "integer",
},
},
},
},