-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead -new add -mig-xxxx to the end of the new pv names (#1393)
In order to support multiple migrations of the same PV we need to add a unique suffix to the end of the PV name when creating new PVs. The new suffix is '-mig-' + 4 character random string of letters. When migrating a PV that already has the suffix, we will remove the suffix and create a new one. In order to support legacy plans and pvs if the suffix is -new we replace -new with -mig-xxxx for the new pv name. relaxed the validation of pvs to only include pvs that are not being skipped in the plan. This allows for the original pv to still exist in the namespace. Signed-off-by: Alexander Wels <[email protected]>
- Loading branch information
Showing
17 changed files
with
2,484 additions
and
1,796 deletions.
There are no files selected for viewing
737 changes: 383 additions & 354 deletions
737
config/crds/migration.openshift.io_directimagemigrations.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
287 changes: 149 additions & 138 deletions
287
config/crds/migration.openshift.io_directimagestreammigrations.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
200 changes: 105 additions & 95 deletions
200
config/crds/migration.openshift.io_directvolumemigrationprogresses.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
1,393 changes: 719 additions & 674 deletions
1,393
config/crds/migration.openshift.io_directvolumemigrations.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.