mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Support context completion for kubectl config use-context
With this commit, kubectl is supported context completion for config use-context. ``` $ ./kubectl config use-context cluster01 minikube ``` /refs #42103, #29386
This commit is contained in:
parent
2249550b57
commit
a46b04dc78
@ -170,6 +170,10 @@ __custom_func() {
|
||||
__kubectl_get_resource_node
|
||||
return
|
||||
;;
|
||||
kubectl_config_use-context)
|
||||
__kubectl_get_contexts
|
||||
return
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user