RamenDR / ramen

Apache License 2.0
70 stars 51 forks source link

kubeObject s3 path has repeated names #1394

Open raghavendra-talur opened 2 months ago

raghavendra-talur commented 2 months ago

When uploading the kubeObjects to the s3 store, the vrg name and vrg namespace are used twice. It would be good to remove one instance of it.

This might not be an easy task as the code might rely on the path to this way. Need to consider upgrades before making this change.

Sample

rdr-dr2/bucket/ramen-ops/test-1-drpc/kube-objects/0/velero/backups/ramen-ops--test-1-drpc--0----minio-on-rdr-dr2/ramen-ops--test-1-drpc--0----minio-on-rdr-dr2-csi-volumesnapshotcontents.json.gz