Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.

This commit is contained in:
Brendan Burns
2015-05-29 16:16:30 -07:00
parent 3cb30e1e21
commit ab0c9b8e1e
12 changed files with 44 additions and 20 deletions

View File

@@ -365,6 +365,7 @@ _kubectl_delete()
flags+=("--ignore-not-found")
flags+=("--selector=")
two_word_flags+=("-l")
flags+=("--timeout=")
must_have_one_flag=()
must_have_one_noun=()
@@ -589,6 +590,7 @@ _kubectl_stop()
flags+=("--ignore-not-found")
flags+=("--selector=")
two_word_flags+=("-l")
flags+=("--timeout=")
must_have_one_flag=()
must_have_one_noun=()