KubeadmControlPlane crashes in GetWorkloadCluster if remote.RestConfig is nil #2754
Labels
area/control-plane
Issues or PRs related to control-plane lifecycle management
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
What steps did you take and what happened:
try deploying a cluster using release 0.3.2
What did you expect to happen:
no panic, assignment to restconfig timeout should be done after error check
cluster-api/controlplane/kubeadm/internal/cluster.go
Lines 72 to 75 in 35f28e9
Anything else you would like to add:
No
Environment:
kubectl version
):Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2020-01-14T00:09:19Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
/etc/os-release
):Darwin Deepaks-MacBook-Pro.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
/kind bug
The text was updated successfully, but these errors were encountered: