mirror of https://github.com/k3s-io/k3s
![]() 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 ``` |
||
---|---|---|
.. | ||
e2e | ||
e2e_federation | ||
e2e_node | ||
fixtures | ||
images | ||
integration | ||
kubemark | ||
list | ||
soak | ||
utils | ||
BUILD | ||
OWNERS | ||
test_owners.csv | ||
test_owners.json |