Allow forced backup deletion

Add --force and --confirm to `ark backup delete` to support forced
backup deletion. This forcibly removes the Ark GC finalizer (if it's
present) from a backup and will orphan any resources associated with the
backup, such as backup tarballs in object storage, persistent volume
snapshots, and restores for the backup.

If a backup has a deletion timestamp, display `Deleting` in `ark backup
describe` and `ark backup get`.

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
Andy Goldstein
2018-02-12 11:32:49 -05:00
parent 530e22939d
commit d24fb232cc
12 changed files with 277 additions and 68 deletions

View File

@@ -14,7 +14,9 @@ ark backup delete NAME [flags]
### Options
```
-h, --help help for delete
--confirm Confirm forceful deletion
--force Forcefully delete the backup, potentially leaving orphaned cloud resources
-h, --help help for delete
```
### Options inherited from parent commands

View File

@@ -14,7 +14,9 @@ ark delete backup NAME [flags]
### Options
```
-h, --help help for backup
--confirm Confirm forceful deletion
--force Forcefully delete the backup, potentially leaving orphaned cloud resources
-h, --help help for backup
```
### Options inherited from parent commands