mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Enable completion for kubectl config delete-context
This enables shell completion for `delete-context`, which will suggest context names, similarly to the `use-context` and `rename-context` subcommands.
This commit is contained in:
parent
5a4aa2026c
commit
81867fd1d9
@ -270,7 +270,7 @@ __kubectl_custom_func() {
|
||||
__kubectl_get_resource_node
|
||||
return
|
||||
;;
|
||||
kubectl_config_use-context | kubectl_config_rename-context)
|
||||
kubectl_config_use-context | kubectl_config_rename-context | kubectl_config_delete-context)
|
||||
__kubectl_config_get_contexts
|
||||
return
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user