diff --git a/pkg/comp-functions/functions/common/pdb.go b/pkg/comp-functions/functions/common/pdb.go index 33642b1271..f1c599a595 100644 --- a/pkg/comp-functions/functions/common/pdb.go +++ b/pkg/comp-functions/functions/common/pdb.go @@ -46,7 +46,7 @@ func AddPDBSettings[T client.Object](ctx context.Context, obj T, svc *runtime.Se }, } - err = svc.SetDesiredKubeObject(x, comp.GetName()+"-pdb") + err = svc.SetDesiredKubeObject(x, comp.GetName()+"-pdb", runtime.KubeOptionAllowDeletion) if err != nil { return runtime.NewFatalResult(fmt.Errorf("could not set desired kube compect: %w", err)) }