mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
Merge pull request #6834 from eparis/bash-4-kubectl-describe
Annotate kubectl describe with describable object for bash completions
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user