Merge pull request #11779 from JanetKuo/add-kubectl-annotation

Auto commit by PR queue bot
This commit is contained in:
Alex Mohr
2015-08-04 18:28:12 -07:00
13 changed files with 1182 additions and 31 deletions

View File

@@ -736,6 +736,32 @@ _kubectl_label()
must_have_one_noun=()
}
_kubectl_annotate()
{
last_command="kubectl_annotate"
commands=()
flags=()
two_word_flags=()
flags_with_completion=()
flags_completion=()
flags+=("--all")
flags+=("--help")
flags+=("-h")
flags+=("--no-headers")
flags+=("--output=")
two_word_flags+=("-o")
flags+=("--output-version=")
flags+=("--overwrite")
flags+=("--resource-version=")
flags+=("--template=")
two_word_flags+=("-t")
must_have_one_flag=()
must_have_one_noun=()
}
_kubectl_config_view()
{
last_command="kubectl_config_view"
@@ -979,6 +1005,7 @@ _kubectl()
commands+=("stop")
commands+=("expose")
commands+=("label")
commands+=("annotate")
commands+=("config")
commands+=("cluster-info")
commands+=("api-versions")