Delete fails on notfound errors.

If deleting multiple resources, command will continue on error and
report not found resources at the end.
This commit is contained in:
Jeff Lowdermilk
2015-05-21 10:01:34 -07:00
parent 0bea034edb
commit 3cf4d9b2e6
9 changed files with 89 additions and 31 deletions

View File

@@ -364,6 +364,7 @@ _kubectl_delete()
flags+=("--grace-period=")
flags+=("--help")
flags+=("-h")
flags+=("--ignore-not-found")
flags+=("--selector=")
two_word_flags+=("-l")
@@ -591,6 +592,7 @@ _kubectl_stop()
flags+=("--grace-period=")
flags+=("--help")
flags+=("-h")
flags+=("--ignore-not-found")
flags+=("--selector=")
two_word_flags+=("-l")