kubernetes/test/integration
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
..
auth add selfsubjectaccessreview API 2016-08-29 09:51:54 -04:00
client only store typeMeta and objectMeta in the gc store 2016-08-08 17:23:13 -07:00
configmap move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00
discoverysummarizer etcd3 validation showed that several unit tests that depend on apiserver being fully 2016-08-18 14:12:24 -05:00
examples etcd3 validation showed that several unit tests that depend on apiserver being fully 2016-08-18 14:12:24 -05:00
federation Adding namespaces/finalizer subresource to federation apiserver 2016-09-02 15:30:32 -07:00
framework move StorageClass to its own group 2016-09-06 08:41:17 -04:00
garbagecollector debugging gc 2016-08-26 15:58:33 -07:00
kubectl Add a check in ConfirmUsable() to validate the contextName 2016-09-01 11:35:11 +10:00
master add more details to failure 2016-09-08 17:14:59 -07:00
metrics Fix make test-integration under OSX 2016-08-29 13:50:44 -04:00
objectmeta test Metadata.ClusterName not saved into etcd 2016-08-31 08:12:41 -07:00
openshift move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00
persistentvolumes Merge pull request #30825 from wongma7/pv-controller-informer 2016-09-10 12:40:30 -07:00
pods move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00
quota move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00
replicaset Merge pull request #29978 from hodovska/sharedInformer-fixup 2016-08-04 09:00:23 -07:00
replicationcontroller Collapse duplicate informer creation paths 2016-08-04 09:02:13 +02:00
scheduler modify extends.Filter 2016-08-04 14:03:32 +08:00
secrets move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00
serviceaccount Add mode permission bits to configmap, secrets and downwardAPI 2016-08-17 14:44:41 -04:00
storageclasses move StorageClass to its own group 2016-09-06 08:41:17 -04:00
benchmark-controller.json build/pause: write in C 2016-05-04 21:45:52 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
utils.go move integration tests into individual pacakges 2016-07-07 00:54:15 -07:00