mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
This commit is contained in:
@@ -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=()
|
||||
|
Reference in New Issue
Block a user