diff --git a/pkg/comp-functions/functions/vshnpostgres/restart.go b/pkg/comp-functions/functions/vshnpostgres/restart.go index bb3f11546..6c48fa36d 100644 --- a/pkg/comp-functions/functions/vshnpostgres/restart.go +++ b/pkg/comp-functions/functions/vshnpostgres/restart.go @@ -155,7 +155,7 @@ func keepRecentRestartOps(ctx context.Context, svc *runtime.ServiceRuntime, comp continue } - err = svc.SetDesiredKubeObject(&op, r.Resource.GetName()) + err = svc.SetDesiredKubeObject(&op, r.Resource.GetName(), runtime.KubeOptionAllowDeletion) if err != nil { return err }