Merge pull request #10358 from caesarxuchao/add-force-update

Add --force to `kubectl update`
This commit is contained in:
Robert Bailey
2015-06-26 10:49:04 -07:00
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=")