Skip to content

Commit bccb8b9

Browse files
authored
Update postgresql_type.go
pvc annotation
1 parent 1c80ac0 commit bccb8b9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,14 @@ type MaintenanceWindow struct {
121121

122122
// Volume describes a single volume in the manifest.
123123
type Volume struct {
124-
Selector *metav1.LabelSelector `json:"selector,omitempty"`
125-
Size string `json:"size"`
126-
StorageClass string `json:"storageClass,omitempty"`
127-
SubPath string `json:"subPath,omitempty"`
128-
Iops *int64 `json:"iops,omitempty"`
129-
Throughput *int64 `json:"throughput,omitempty"`
130-
VolumeType string `json:"type,omitempty"`
124+
Selector *metav1.LabelSelector `json:"selector,omitempty"`
125+
Size string `json:"size"`
126+
StorageClass string `json:"storageClass,omitempty"`
127+
SubPath string `json:"subPath,omitempty"`
128+
Iops *int64 `json:"iops,omitempty"`
129+
Throughput *int64 `json:"throughput,omitempty"`
130+
VolumeType string `json:"type,omitempty"`
131+
PvcAnnotations map[string]string `json:"pvcAnnotations,omitempty"`
131132
}
132133

133134
// AdditionalVolume specs additional optional volumes for statefulset

0 commit comments

Comments
 (0)