fix(helm): Reworded logs for clarity

Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
pull/7530/head
Federico Bevione 5 years ago
parent 438eaec971
commit 077503f175

@ -189,6 +189,7 @@ func (w *waiter) serviceReady(s *corev1.Service) bool {
// Make sure the service is not explicitly set to "None" before checking the IP
if s.Spec.ClusterIP != corev1.ClusterIPNone && s.Spec.ClusterIP == "" {
w.log("Service does not have IP address: %s/%s", s.GetNamespace(), s.GetName())
return false
}
@ -196,7 +197,7 @@ func (w *waiter) serviceReady(s *corev1.Service) bool {
if s.Spec.Type == corev1.ServiceTypeLoadBalancer {
// do not wait when at least 1 external IP is set
if len(s.Spec.ExternalIPs) > 0 {
w.log("Service has externaIPs addresses: %s/%s (%v)", s.GetNamespace(), s.GetName(), s.Spec.ExternalIPs)
w.log("Service %s/%s has external IP addresses (%v), marking as ready", s.GetNamespace(), s.GetName(), s.Spec.ExternalIPs)
return true
}

Loading…
Cancel
Save