mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 14:21:18 +00:00
Add snapshot-location to velero create command (#1472)
`velero snapshot-location create` existed, but not `velero create snapshot-location`; update subcommand for parity with backup-location Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
committed by
KubeKween
parent
d05f8e53d8
commit
c209f0c0c3
@@ -24,6 +24,7 @@ import (
|
||||
"github.com/heptio/velero/pkg/cmd/cli/backuplocation"
|
||||
"github.com/heptio/velero/pkg/cmd/cli/restore"
|
||||
"github.com/heptio/velero/pkg/cmd/cli/schedule"
|
||||
"github.com/heptio/velero/pkg/cmd/cli/snapshotlocation"
|
||||
)
|
||||
|
||||
func NewCommand(f client.Factory) *cobra.Command {
|
||||
@@ -38,6 +39,7 @@ func NewCommand(f client.Factory) *cobra.Command {
|
||||
schedule.NewCreateCommand(f, "schedule"),
|
||||
restore.NewCreateCommand(f, "restore"),
|
||||
backuplocation.NewCreateCommand(f, "backup-location"),
|
||||
snapshotlocation.NewCreateCommand(f, "snapshot-location"),
|
||||
)
|
||||
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user