clusters/addons: provide *_ip properties
This commit is contained in:
parent
b188da84ed
commit
481115e0d0
2
http.go
2
http.go
@ -257,6 +257,8 @@ func serveCluster(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clusterAsMap := asMap(cluster)
|
clusterAsMap := asMap(cluster)
|
||||||
|
clusterAsMap["kubernetes_svc_ip"] = cluster.KubernetesSvcIP().String()
|
||||||
|
clusterAsMap["dns_svc_ip"] = cluster.DNSSvcIP().String()
|
||||||
|
|
||||||
cm := newConfigMap("cluster-addons")
|
cm := newConfigMap("cluster-addons")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user