Adding support for externalIP Services

This commit is contained in:
Frieder Paape 2017-05-09 16:23:40 +02:00
parent 4601775c18
commit 3694788ed5
2 changed files with 11 additions and 5 deletions

View file

@ -223,6 +223,9 @@ func (s *statusSync) runningAddresess() ([]string, error) {
addrs = append(addrs, ip.IP)
}
}
for _, ip := range svc.Spec.ExternalIPs {
addrs = append(addrs, ip)
}
return addrs, nil
}