Merge pull request #6834 from eparis/bash-4-kubectl-describe

Annotate kubectl describe with describable object for bash completions
This commit is contained in:
Brendan Burns
2015-04-20 14:13:53 -07:00
3 changed files with 40 additions and 17 deletions

View File

@@ -273,6 +273,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()