mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 06:04:02 +00:00
Automatic merge from submit-queue (batch tested with PRs 41074, 41147, 40854, 41167, 40045) kubeadm: adding integration tests for init **What this PR does / why we need it**: integration tests for kubeadm init focused on valid and invalid discovery tokens **Special notes for your reviewer**: /cc @luxas @pires This was taken from Pires's work in https://github.com/kubernetes/kubernetes/pull/40008 . This is just the testing aspect of it As it stands, these tests will never complete. The reason being is once it passes with a valid discovery token, it will wait until `[apiclient] Created API client, waiting for the control plane to become ready ` which is an infinite poll (https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/master/apiclient.go#L71). This is a WIP **Release note**: ```release-note NONE ```