Skip to content

Commit

Permalink
include volume in list of required fields (#1016)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Kunde <felix.kunde@zalando.de>
  • Loading branch information
FxKu and Felix Kunde authored Jun 12, 2020
1 parent fa6929f commit 3d976eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/postgres-operator/crds/postgresqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
- numberOfInstances
- teamId
- postgresql
- volume
properties:
additionalVolumes:
type: array
Expand Down
1 change: 1 addition & 0 deletions manifests/postgresql.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ spec:
- numberOfInstances
- teamId
- postgresql
- volume
properties:
additionalVolumes:
type: array
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/acid.zalan.do/v1/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3d976eb

Please sign in to comment.