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
..
2016-09-06 08:41:17 -04:00
2016-06-29 17:47:36 -07:00
2016-09-11 02:00:34 -07:00
2016-07-08 13:53:09 +02:00
2016-08-12 15:45:57 +02:00
2016-08-20 15:58:47 +02:00
2016-09-10 18:35:07 +02:00
2016-07-26 11:54:25 +02:00
2016-08-03 08:37:45 -04:00
2016-08-05 11:20:56 -04:00
2016-07-26 11:54:25 +02:00
2016-07-26 11:54:25 +02:00
2016-07-26 11:54:25 +02:00
2016-06-29 17:47:36 -07:00
2016-09-06 08:41:17 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-08-17 17:37:56 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-08-30 12:46:52 +04:30
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-09-06 08:41:17 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-08 13:53:09 +02:00
2016-07-08 13:53:09 +02:00
2016-09-06 08:41:17 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-09-06 08:41:17 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-05 13:34:26 +02:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-26 11:54:25 +02:00
2016-07-26 11:54:25 +02:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-08-03 15:57:03 -07:00
2016-08-03 15:57:03 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-07-18 21:01:21 +02:00
2016-08-05 13:34:50 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-09-06 08:41:17 -04:00
2016-09-06 08:41:17 -04:00
2016-09-06 08:41:17 -04:00
2016-08-05 11:20:56 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-08-03 08:37:45 -04:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00