include volume in list of required fields

This commit is contained in:
Felix Kunde 2020-06-12 15:05:04 +02:00
parent fa6929f028
commit 499978f85a
3 changed files with 3 additions and 1 deletions

View File

@ -73,6 +73,7 @@ spec:
- numberOfInstances
- teamId
- postgresql
- volume
properties:
additionalVolumes:
type: array

View File

@ -69,6 +69,7 @@ spec:
- numberOfInstances
- teamId
- postgresql
- volume
properties:
additionalVolumes:
type: array

View File

@ -132,7 +132,7 @@ var PostgresCRDResourceValidation = apiextv1beta1.CustomResourceValidation{
},
"spec": {
Type: "object",
Required: []string{"numberOfInstances", "teamId", "postgresql"},
Required: []string{"numberOfInstances", "teamId", "postgresql", "volume"},
Properties: map[string]apiextv1beta1.JSONSchemaProps{
"allowedSourceRanges": {
Type: "array",