Skip to content

Commit

Permalink
Merge pull request #17 from replicatedhq/laverya/pvmigrate-should-not…
Browse files Browse the repository at this point in the history
…-change-defaults-by-default

default StorageClasses should not be changed by default
  • Loading branch information
laverya authored Jul 29, 2021
2 parents c261b79 + 262091a commit 3f89cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/migrate/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Cli() {
flag.StringVar(&sourceSCName, "source-sc", "", "storage provider name to migrate from")
flag.StringVar(&destSCName, "dest-sc", "", "storage provider name to migrate to")
flag.StringVar(&rsyncImage, "rsync-image", "eeacms/rsync:2.3", "the image to use to copy PVCs - must have 'rsync' on the path")
flag.BoolVar(&setDefaults, "set-defaults", true, "change default storage class from source to dest")
flag.BoolVar(&setDefaults, "set-defaults", false, "change default storage class from source to dest")
flag.BoolVar(&verboseCopy, "verbose-copy", false, "show output from the rsync command used to copy data between PVCs")

flag.Parse()
Expand Down

0 comments on commit 3f89cbb

Please sign in to comment.