Skip to content

Commit

Permalink
copy kubernetes service ip when regenerating etcd certs
Browse files Browse the repository at this point in the history
  • Loading branch information
galal-hussein authored and Alena Prokharchyk committed Dec 10, 2018
1 parent 0b11a32 commit f2dc574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (c *Cluster) GetClusterState(ctx context.Context) (*Cluster, error) {
}
currentCluster.DockerDialerFactory = c.DockerDialerFactory
currentCluster.LocalConnDialerFactory = c.LocalConnDialerFactory
currentCluster.KubernetesServiceIP = c.KubernetesServiceIP

// make sure I have all the etcd certs, We need handle dialer failure for etcd nodes https://github.com/rancher/rancher/issues/12898
for _, host := range activeEtcdHosts {
Expand Down

0 comments on commit f2dc574

Please sign in to comment.