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 - numberOfInstances
- teamId - teamId
- postgresql - postgresql
- volume
properties: properties:
additionalVolumes: additionalVolumes:
type: array type: array

View File

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

View File

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