mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 03:38:15 +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>. kubeadm-reset: notify about a non-default certificates directory **What this PR does / why we need it**: The `kubeadm reset` command requires super-user access. When passing non-default path to the `kubeadm reset` command via `--cert-dir `, the user should be at least warned that a non-standard directory is being cleaned completely. **Which issue this PR fixes** /approve no-issue **Special notes for your reviewer**: If you think that this can be amended (or even improved as a whole) in some way, please let me know. **Release note**: ```release-note Make sure that "kubeadm reset" notifies about cleaning the directory specified by "--cert-dir" with a warning. ``` Lubomir I. Ivanov (VMWare)