• Kubernetes Submit Queue's avatar
    Merge pull request #64570 from liztio/force-version · 74b224eb
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 64605, 64570). 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>.
    
    Version mismatch is now a skippable error
    
    **What this PR does / why we need it**:
    
    Previously, kubeadm enforced the same major and minor versions as the version of kubernetes it was installing. This is still enforced by default, but now the `--force` flag can override it. This is useful for testing and other edge cases.
    
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #[kubeadm/877](https://github.com/kubernetes/kubeadm/issues/877)
    
    **Special notes for your reviewer**:
    
    **Release note**:
    ```release-note
    kubeadm upgrade apply can now ignore version errors with --force
    ```
    74b224eb
Name
Last commit
Last update
..
app Loading commit data...
test Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
kubeadm.go Loading commit data...