mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 08:36:04 +00:00
This patch provides a more relevant error message when a client configuration option is passed with an invalid or non-existent value. `$ kubectl get pods --cluster="non-existent"` ``` error: No configuration file found, please login or point to an existing file ``` `$ kubectl get pods --cluster="non-existent"` ``` error: cluster "non-existent" does not exist ```