Merge pull request #78 from skriss/restore-resource-inc-exc

Add --include-resources, --exclude-resources for restore operations
This commit is contained in:
Andy Goldstein
2017-09-12 15:53:21 -04:00
committed by GitHub
13 changed files with 340 additions and 188 deletions

View File

@@ -15,8 +15,10 @@ ark restore create BACKUP [flags]
```
--exclude-namespaces stringArray namespaces to exclude from the restore
--exclude-resources stringArray resources to exclude from the restore, formatted as resource.group, such as storageclasses.storage.k8s.io
-h, --help help for create
--include-namespaces stringArray namespaces to include in the restore (use '*' for all namespaces) (default *)
--include-resources stringArray resources to include in the restore, formatted as resource.group, such as storageclasses.storage.k8s.io (use '*' for all resources)
--label-columns stringArray a comma-separated list of labels to be displayed as columns
--labels mapStringString labels to apply to the restore
--namespace-mappings mapStringString namespace mappings from name in the backup to desired restored name in the form src1:dst1,src2:dst2,...