mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-25 10:55:11 +00:00
Automatic merge from submit-queue Move CSR helper for nodes out of kubelet **What this PR does / why we need it**: Including `cmd/kubelet/app` in kubeadm causes flag leakage. Namelly, the problem is with `pkg/credentialprovider/gcp`, which leaks `--google-json-key` and changing the behaviour of `init()` doesn't sound reasonable, given kubelet is the only one who uses this packages and obviously the flag is part of the functionality. The helper is already generic enough, it has already been exported and works well for kubeadm, so moving it should be fine. **Special notes for your reviewer**: cc @mikedanese @yifan-gu @gtank **Release note**: ```release-note NONE ```