diff --git a/pkg/system/phase2_creating.go b/pkg/system/phase2_creating.go index 60fac103d..1932d65fb 100644 --- a/pkg/system/phase2_creating.go +++ b/pkg/system/phase2_creating.go @@ -134,8 +134,10 @@ func (r *Reconciler) ReconcilePhaseCreatingForMainClusters() error { return err } - if err := r.UpgradePostgresDB(); err != nil { - return err + if r.NooBaa.Spec.DBType == "postgres" { + if err := r.UpgradePostgresDB(); err != nil { + return err + } } if err := r.ReconcileDB(); err != nil {