@@ -53,7 +53,7 @@ type PostgresSpec struct {
53
53
NumberOfInstances int32 `json:"numberOfInstances"`
54
54
Users map [string ]UserFlags `json:"users"`
55
55
MaintenanceWindows []MaintenanceWindow `json:"maintenanceWindows,omitempty"`
56
- Clone * CloneDescription `json:"clone"`
56
+ Clone * CloneDescription `json:"clone,omitempty "`
57
57
ClusterName string `json:"-"`
58
58
Databases map [string ]string `json:"databases,omitempty"`
59
59
PreparedDatabases map [string ]PreparedDatabase `json:"preparedDatabases,omitempty"`
@@ -64,10 +64,10 @@ type PostgresSpec struct {
64
64
ShmVolume * bool `json:"enableShmVolume,omitempty"`
65
65
EnableLogicalBackup bool `json:"enableLogicalBackup,omitempty"`
66
66
LogicalBackupSchedule string `json:"logicalBackupSchedule,omitempty"`
67
- StandbyCluster * StandbyDescription `json:"standby"`
68
- PodAnnotations map [string ]string `json:"podAnnotations"`
69
- ServiceAnnotations map [string ]string `json:"serviceAnnotations"`
70
- TLS * TLSDescription `json:"tls"`
67
+ StandbyCluster * StandbyDescription `json:"standby,omitempty "`
68
+ PodAnnotations map [string ]string `json:"podAnnotations,omitempty "`
69
+ ServiceAnnotations map [string ]string `json:"serviceAnnotations,omitempty "`
70
+ TLS * TLSDescription `json:"tls,omitempty "`
71
71
AdditionalVolumes []AdditionalVolume `json:"additionalVolumes,omitempty"`
72
72
73
73
// deprecated json tags
0 commit comments