include volume in list of required fields (#1016)
Co-authored-by: Felix Kunde <felix.kunde@zalando.de>
This commit is contained in:
parent
fa6929f028
commit
3d976ebe8b
|
|
@ -73,6 +73,7 @@ spec:
|
||||||
- numberOfInstances
|
- numberOfInstances
|
||||||
- teamId
|
- teamId
|
||||||
- postgresql
|
- postgresql
|
||||||
|
- volume
|
||||||
properties:
|
properties:
|
||||||
additionalVolumes:
|
additionalVolumes:
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ spec:
|
||||||
- numberOfInstances
|
- numberOfInstances
|
||||||
- teamId
|
- teamId
|
||||||
- postgresql
|
- postgresql
|
||||||
|
- volume
|
||||||
properties:
|
properties:
|
||||||
additionalVolumes:
|
additionalVolumes:
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue