Adding in defaults for backup creation and restore

Signed-off-by: Justin Nauman <justin.r.nauman@gmail.com>
This commit is contained in:
Justin Nauman
2017-08-21 09:47:11 -05:00
committed by Justin Nauman
parent e993dd0cbd
commit 3ea9899140
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -70,6 +70,7 @@ func NewCreateOptions() *CreateOptions {
TTL: 24 * time.Hour,
IncludeNamespaces: flag.NewStringArray("*"),
Labels: flag.NewMap(),
SnapshotVolumes: true,
}
}
+1
View File
@@ -66,6 +66,7 @@ func NewCreateOptions() *CreateOptions {
return &CreateOptions{
Labels: flag.NewMap(),
NamespaceMappings: flag.NewMap().WithEntryDelimiter(",").WithKeyValueDelimiter(":"),
RestoreVolumes: true,
}
}