platform9 / ssh-provider

SSH Machine Controller for the Cluster API
11 stars 4 forks source link

Remove dependency on kubeadm, kubelet, and kubeproxy #11

Open dlipovetsky opened 6 years ago

dlipovetsky commented 6 years ago

The provider imports the kubeadm, kubelet and kubeproxy configuration types. The provider imports Cluster API types, too. The latter is locked to release-1.9, but the provider targets kubeadm release-1.10. Due to an API change, kubeadm types are not compatible across release-1.9 and release-1.10.

dlipovetsky commented 6 years ago

The workaround to the problems of configuration types is to have the provider define its own types for now. These types must marshal into valid kubeadm MasterConfigurations and NodeConfigurations.