Skip to content

Commit 3d976eb

Browse files
FxKuFelix Kunde
andauthored
include volume in list of required fields (zalando#1016)
Co-authored-by: Felix Kunde <[email protected]>
1 parent fa6929f commit 3d976eb

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/postgres-operator/crds/postgresqls.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
- numberOfInstances
7474
- teamId
7575
- postgresql
76+
- volume
7677
properties:
7778
additionalVolumes:
7879
type: array

manifests/postgresql.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ spec:
6969
- numberOfInstances
7070
- teamId
7171
- postgresql
72+
- volume
7273
properties:
7374
additionalVolumes:
7475
type: array

pkg/apis/acid.zalan.do/v1/crds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ var PostgresCRDResourceValidation = apiextv1beta1.CustomResourceValidation{
132132
},
133133
"spec": {
134134
Type: "object",
135-
Required: []string{"numberOfInstances", "teamId", "postgresql"},
135+
Required: []string{"numberOfInstances", "teamId", "postgresql", "volume"},
136136
Properties: map[string]apiextv1beta1.JSONSchemaProps{
137137
"allowedSourceRanges": {
138138
Type: "array",

0 commit comments

Comments
 (0)