fix kubeadm unit tests (testdata) #9707
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
ref: #9694
ref: #9693
currently, bsutil (kubeadm) unit tests have hardcoded list of versions to test, referencing
testdata
subdirectories for relevant k8s version to test, and it has to be manually updated with each new version released, eg:minikube/pkg/minikube/bootstrapper/bsutil/kubeadm_test.go
Line 80 in 9b96485
and
minikube/pkg/minikube/bootstrapper/bsutil/kubeadm_test.go
Line 111 in 9b96485
we also need to cover the situation where we still don't have the
<major>.<minor>.0
stable version released (eg, as with 'v1.20.0-beta.1'), in which case we should use that latest k8s version until stable version gets released in test data filestherefore, it would be good to:
<major>.<minor>
k8s version underpkg/minikube/bootstrapper/bsutil/testdata/
The text was updated successfully, but these errors were encountered: