From b8be396117079851265993bf857a18cf62924e28 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Thu, 13 Jun 2024 22:22:28 +0200 Subject: [PATCH] Also add RWO PVC without NodeAffinity from its PV Signed-off-by: Johannes Bornhold --- operator/backupcontroller/executor.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/operator/backupcontroller/executor.go b/operator/backupcontroller/executor.go index d6371403b..c89553e53 100644 --- a/operator/backupcontroller/executor.go +++ b/operator/backupcontroller/executor.go @@ -143,8 +143,7 @@ func (b *BackupExecutor) listAndFilterPVCs(ctx context.Context, annotation strin bi.node = findNode(pv, pvc) if bi.node == "" { - log.Info("RWO PVC not bound and no PV node affinity set, skipping", "pvc", pvc.GetName(), "affinity", pv.Spec.NodeAffinity) - continue + log.Info("RWO PVC not bound and no PV node affinity set, adding", "pvc", pvc.GetName(), "affinity", pv.Spec.NodeAffinity) } log.V(1).Info("node found in PV or PVC", "pvc", pvc.GetName(), "node", bi.node) } else {