forked from vmware-tanzu/velero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore: rename PV when remapping a namespace if PV exists in-cluster (…
…vmware-tanzu#1779) * rename PV during restore when cloning a namespace Signed-off-by: Steve Kriss <[email protected]> * rename func and vars, switch to if..else Signed-off-by: Steve Kriss <[email protected]> * make pv renamer func configurable for testing purposes Signed-off-by: Steve Kriss <[email protected]> * add unit test cases Signed-off-by: Steve Kriss <[email protected]> * changelog Signed-off-by: Steve Kriss <[email protected]> * address review feedback Signed-off-by: Steve Kriss <[email protected]> * address review feedback Signed-off-by: Steve Kriss <[email protected]>
- Loading branch information
Showing
3 changed files
with
218 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
when using `velero restore create --namespace-mappings ...` to create a second copy of a namespace in a cluster, create copies of the PVs used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters