Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48838 from mattmoyer/kubeadm-add-default-token-tt…
…l-warning Automatic merge from submit-queue (batch tested with PRs 48572, 48838, 48931, 48783, 47090) kubeadm: add a warning about the default token TTL changing in 1.8 **What this PR does / why we need it**: This adds a warning to `kubeadm init` and `kubeadm token create` if they are run without the `--token-ttl` / `--ttl` flags. In 1.7 and before, the tokens generated by these commands defaulted to an infinite TTL (no expiration) in 1.8, they will generate a token with a 24 hour TTL. The actual default change is in #48783. This change is separate so we can cherry pick the warning into the `release-1.7` branch. **Which issue this PR fixes**: ref kubernetes/kubeadm#343 **Special notes for your reviewer**: This change is blocked on kubernetes/kubeadm#343. These warnings should probably be removed in the 1.9 cycle. **Release note**: ```release-note Add a runtime warning about the kubeadm default token TTL changes in 1.8. ``` /assign @luxas
- Loading branch information