kubernetes/pkg/client
Kubernetes Submit Queue 60b63b7cda Merge pull request #31767 from asalkeld/bad-context-error
Automatic merge from submit-queue

Add a check in ConfirmUsable() to validate the contextName

**What this PR does / why we need it**:
When a context name is provided, but can't be found (miss spelling), it currently
uses the defaults. This PR will cause the command to fail, to prevent unexpected side effects
of using the wrong configuration.

**Which issue this PR fixes**
fixes #21062

**Special notes for your reviewer**:
None

**Release note**:
```release-note
Error if a contextName is provided but not found in the kubeconfig.
```
2016-09-11 02:00:34 -07:00
..
cache Fix race in DeltaFIFO 2016-09-06 20:48:18 +02:00
chaosclient Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
clientset_generated Merge pull request #31271 from deads2k/self-sar 2016-09-08 01:29:48 -07:00
leaderelection Update acquire to use newer JitterUntil vs. sleep with 0 timer which may 2016-07-29 11:10:00 -05:00
metrics Remove implicit Prometheus metrics from client 2016-08-19 10:11:45 -07:00
record Merge pull request #29230 from luxas/goimport 2016-08-05 16:22:01 -07:00
restclient Split path validation into a separate library 2016-08-26 08:05:20 -07:00
testdata Added test cases for NewKubeletClient with TLS enabled 2014-12-18 00:57:33 -08:00
testing/core Improve doc for the fake client 2016-08-30 13:42:43 -04:00
transport Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
typed Use a structured error rather than an Aggregate error in discovery 2016-09-07 10:59:03 -04:00
unversioned Merge pull request #31767 from asalkeld/bad-context-error 2016-09-11 02:00:34 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00