Add interactive run that combines run and attach.

This commit is contained in:
Brendan Burns
2015-08-04 12:54:17 -07:00
parent d04fce045e
commit 9ac50b4980
15 changed files with 162 additions and 15 deletions

View File

@@ -616,6 +616,7 @@ _kubectl_run()
flags_with_completion=()
flags_completion=()
flags+=("--attach")
flags+=("--dry-run")
flags+=("--generator=")
flags+=("--help")
@@ -632,8 +633,11 @@ _kubectl_run()
flags+=("--port=")
flags+=("--replicas=")
two_word_flags+=("-r")
flags+=("--stdin")
flags+=("-i")
flags+=("--template=")
two_word_flags+=("-t")
flags+=("--tty")
must_have_one_flag=()
must_have_one_flag+=("--image=")