include volume in list of required fields (#1016)

Co-authored-by: Felix Kunde <felix.kunde@zalando.de>
This commit is contained in:
Felix Kunde 2020-06-12 15:09:59 +02:00 committed by GitHub
parent fa6929f028
commit 3d976ebe8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",