mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 22:33:52 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Enhance kubeadm `bootstrap-token` **What this PR does / why we need it**: This PR is part of the effort for improving kubeadm phases, and more specifically improves `bootstrap-token` phase by implementing a behaviour consistent with `kubeadm init`, that is: - `all` subcommand - `create` subcommand (with CA pinning stuff and --config) - `cluster-info` subcommand was modified, removing --config (thus making it consistent with other phases) - `allow-auto-approve` subcommand was improved, implementing also creation of RBAC rules for certificate rotation (thus making it consistent with `kubeadm init`) - Reference docs improved **Which issue(s) this PR fixes** part of the effort for [#461](https://github.com/kubernetes/kubeadm/issues/461) part of the effort for [#454](https://github.com/kubernetes/kubeadm/issues/454) part of the effort for [#265](https://github.com/kubernetes/kubeadm/issues/265) **Special notes for your reviewer**: CC @luxas **Release note**: ```release-note NONE ```