Annotate kubectl describe with describable object for bash completions

This commit is contained in:
Eric Paris
2015-03-17 13:01:33 -04:00
parent 037407f49e
commit f272e836e0
3 changed files with 40 additions and 17 deletions

View File

@@ -272,6 +272,15 @@ _kubectl_describe()
must_have_one_flag=()
must_have_one_noun=()
must_have_one_noun+=("limitrange")
must_have_one_noun+=("minion")
must_have_one_noun+=("node")
must_have_one_noun+=("persistentvolume")
must_have_one_noun+=("persistentvolumeclaim")
must_have_one_noun+=("pod")
must_have_one_noun+=("replicationcontroller")
must_have_one_noun+=("resourcequota")
must_have_one_noun+=("service")
}
_kubectl_create()