k3s/test
Kubernetes Submit Queue 77e660ed15 Merge pull request #52227 from liggitt/non-preferred-version-priority
Automatic merge from submit-queue (batch tested with PRs 52227, 52120)

Fix discovery restmapper finding resources in non-preferred versions

Fixes: #52219

Also reverts behavioral changes to tests that version-qualified cronjobs to work around this issue.

The discovery rest mapper was only populating the priority rest mapper's search list with preferred groupversions.

That meant that if a resource existed in multiple non-preferred versions, AND did not exist in the preferred version (like cronjob, which only exists in v1beta2.batch and v2alpha1.batch, but not v1.batch), the priority restmapper would not find it in its group/version priority list, and would return an error.

```release-note
Fixed an issue looking up cronjobs when they existed in more than one API version
```
2017-09-12 01:09:14 -07:00
..
e2e Merge pull request #52227 from liggitt/non-preferred-version-priority 2017-09-12 01:09:14 -07:00
e2e_federation Merge pull request #48075 from clamoriniere1A/feature/job_failure_policy 2017-09-02 18:18:54 -07:00
e2e_node Merge pull request #52063 from mtaufen/dkcfg-e2enode 2017-09-08 16:06:56 -07:00
fixtures Merge pull request #51636 from deads2k/cli-01-reconcile 2017-09-02 19:26:25 -07:00
images Merge pull request #48552 from mkumatag/pets 2017-09-07 22:27:20 -07:00
integration Merge pull request #50949 from bsalamat/preemption_eviction 2017-09-08 14:19:42 -07:00
kubemark Enabling aggregator functionality on kubemark, gce 2017-09-05 13:01:05 -07:00
list Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
soak Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
utils Move paused deployment e2e tests to integration 2017-09-06 18:12:28 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS Adding vishh to test approvers 2017-08-30 15:29:53 -07:00
test_owners.csv Remove seemingly obsolete binaries 2017-08-18 21:01:19 -07:00
test_owners.json