mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-05 01:55:42 +00:00
Automatic merge from submit-queue Create client from API version passed in config or use default When creating a client read the `GroupVersion` value passed in the `restclient.Config`. If the passed `GroupVersion` does not match current group or is not enabled fallback to default `GroupVersion` for that group. This PR should allow accessing `ScheduledJob` properly in `batch/v2alpha1`. @smarterclayton @deads2k @caesarxuchao @lavalamp ptal