mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-11-08 04:18:06 +00:00
* e2e: give the namespace-mapping cases real volumes on kind under CSI Init had two kind branches that are not skips. The first replaces Kibishii's dataset with every dimension zero, so generate.sh and verify.sh run over nothing. The second forces --snapshot-volumes=false and clears UseVolumeSnapshots, which also skips the else branch that would add --default-volumes-to-fs-backup. Both were right while Kibishii's PVs on kind were hostPath, since neither a CSI snapshot nor a PodVolumeBackup would pick them up. The effect is that the two NamespaceMapping FSBackup cases in the kind matrix, which run on every PR, assert the namespace mapping and nothing about the volumes despite their label. Gate both on the same predicate as the other Kibishii cases, so a run with EnableCSI gets the real dataset and a real snapshot, and add a NamespaceMapping && Snapshot row to the CSI matrix to select the two cases that were in no row before. The FSBackup pair keeps its current behaviour: it runs in the non-CSI job where Kibishii is still hostPath, so it still takes the zero-data path. Moving it needs file system backup proven on a CSI-backed class first. Signed-off-by: krishhna24 <krishhnatupedev@gmail.com> * Add changelog for #10679 Signed-off-by: krishhna24 <krishhnatupedev@gmail.com> --------- Signed-off-by: krishhna24 <krishhnatupedev@gmail.com>