mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-28 03:47:34 +00:00
Automatic merge from submit-queue (batch tested with PRs 36071, 32752, 37998, 38350, 38401) Pass addressable values to DeepCopy Extracted from https://github.com/kubernetes/kubernetes/pull/35728 These are the places we are currently calling DeepCopy incorrectly, and we need to fix, even if we don't pick up the changes to DeepCopy in #35728: * creating a new cloner means we have no generated functions registered * passing non-addressable values doesn't pick up generated deep copy functions, and forces us into reflective mode