![]() 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 ``` |
||
---|---|---|
.. | ||
api | ||
auth_loaders.go | ||
client_config_test.go | ||
client_config.go | ||
config.go | ||
doc.go | ||
loader_test.go | ||
loader.go | ||
merged_client_builder_test.go | ||
merged_client_builder.go | ||
overrides.go | ||
validation_test.go | ||
validation.go |