mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 19:53:09 +02:00
Wrong toggle.
This commit is contained in:
@@ -139,9 +139,10 @@ func New(cfg Config, kubeClient k8sutil.KubernetesClient, pgSpec acidv1.Postgres
|
||||
cluster.patroni = patroni.New(cluster.logger)
|
||||
cluster.eventRecorder = eventRecorder
|
||||
|
||||
cluster.EBSVolumes = make(map[string]volumes.VolumeProperties)
|
||||
if cfg.OpConfig.StorageResizeMode != "pvc" {
|
||||
cluster.VolumeResizer = &volumes.EBSVolumeResizer{AWSRegion: cfg.OpConfig.AWSRegion}
|
||||
cluster.EBSVolumes = make(map[string]volumes.VolumeProperties)
|
||||
|
||||
}
|
||||
|
||||
return cluster
|
||||
|
||||
Reference in New Issue
Block a user