clusters/addons: provide *_ip properties

This commit is contained in:
Mikaël Cluseau 2018-07-27 20:10:35 +02:00
parent b188da84ed
commit 481115e0d0

View File

@ -257,6 +257,8 @@ func serveCluster(w http.ResponseWriter, r *http.Request) {
}
clusterAsMap := asMap(cluster)
clusterAsMap["kubernetes_svc_ip"] = cluster.KubernetesSvcIP().String()
clusterAsMap["dns_svc_ip"] = cluster.DNSSvcIP().String()
cm := newConfigMap("cluster-addons")