Add label support for kubectl describe

Add -l option to kubectl describe command, allow it return
multiple results filtered by label selector.
This commit is contained in:
hurf
2015-06-12 15:08:28 +08:00
parent 2c5d40a69e
commit fa0efe3927
5 changed files with 29 additions and 11 deletions

View File

@@ -275,6 +275,8 @@ _kubectl_describe()
flags+=("--help")
flags+=("-h")
flags+=("--selector=")
two_word_flags+=("-l")
must_have_one_flag=()
must_have_one_noun=()