platform9 / ssh-provider

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

Duplicate IP in APIServerCertSANs #29

Closed dlipovetsky closed 6 years ago

dlipovetsky commented 6 years ago
[certificates] apiserver serving cert is signed for DNS names [coreos-daniel-157-10-105-16-48platform9.sys kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.1.0.1 10.105.16.47 10.105.16.47]

The SSH provider sets MasterConfiguration.API.AdvertiseAddress to the VIP, and adds the VIP to MasterConfiguration.APIServerCertSANs. Kubeadm will add the advertise address to the SANs itself, so the latter is redundant and should be removed.