Add kubectl rollout

This commit is contained in:
Janet Kuo
2016-01-20 13:35:01 -08:00
parent 74d3506b68
commit 183b7f4d6d
8 changed files with 293 additions and 2 deletions

View File

@@ -1656,6 +1656,45 @@ _kubectl_autoscale()
must_have_one_noun=()
}
_kubectl_rollout()
{
last_command="kubectl_rollout"
commands=()
flags=()
two_word_flags=()
flags_with_completion=()
flags_completion=()
flags+=("--alsologtostderr")
flags+=("--api-version=")
flags+=("--certificate-authority=")
flags+=("--client-certificate=")
flags+=("--client-key=")
flags+=("--cluster=")
flags+=("--context=")
flags+=("--insecure-skip-tls-verify")
flags+=("--kubeconfig=")
flags+=("--log-backtrace-at=")
flags+=("--log-dir=")
flags+=("--log-flush-frequency=")
flags+=("--logtostderr")
flags+=("--match-server-version")
flags+=("--namespace=")
flags+=("--password=")
flags+=("--server=")
two_word_flags+=("-s")
flags+=("--stderrthreshold=")
flags+=("--token=")
flags+=("--user=")
flags+=("--username=")
flags+=("--v=")
flags+=("--vmodule=")
must_have_one_flag=()
must_have_one_noun=()
}
_kubectl_label()
{
last_command="kubectl_label"
@@ -2414,6 +2453,7 @@ _kubectl()
commands+=("run")
commands+=("expose")
commands+=("autoscale")
commands+=("rollout")
commands+=("label")
commands+=("annotate")
commands+=("config")