mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 02:38:12 +00:00
Automatic merge from submit-queue (batch tested with PRs 41043, 39058, 41021, 41603, 41414) kubeadm: Make a separate util package for kubeconfig logic **What this PR does / why we need it**: There are a lot of packages that need to consume kubeconfig logic, so it should be in a central place. Having it in `kubeadmutil` is suboptimal, because then it get mixed with everything else. This splits that logic out to a generic place so it then also can be consumed in https://github.com/kubernetes/kubernetes/pull/41417, from where it's broken out. - Move {admin,kubelet}.conf out as constants - Make a separate util package for kubeconfig logic **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```