add "--force" flag to "kubectl update";

update relevant tests
This commit is contained in:
Chao Xu
2015-06-24 17:33:46 -07:00
parent ba10e3bf15
commit ef5de91fd7
9 changed files with 208 additions and 17 deletions

View File

@@ -331,15 +331,19 @@ _kubectl_update()
flags_with_completion=()
flags_completion=()
flags+=("--cascade")
flags+=("--filename=")
flags_with_completion+=("--filename")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
two_word_flags+=("-f")
flags_with_completion+=("-f")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
flags+=("--force")
flags+=("--grace-period=")
flags+=("--help")
flags+=("-h")
flags+=("--patch=")
flags+=("--timeout=")
must_have_one_flag=()
must_have_one_flag+=("--filename=")