platform9 / cctl

Apache License 2.0
47 stars 8 forks source link

Update APIEndpoint in ClusterStatus when adding master in non-ha cluster #155

Closed ojmhetar closed 5 years ago

ojmhetar commented 5 years ago

When adding a worker to a non-ha cluster, the master IP used by the worker on nodeadm join is empty because the vip is also empty.

This change will update the APIEndpoint (used by the worker to find the master IP) in the ClusterSpec with the IP of the master when it is created.