{{#if (gt items.length 0)}} {{#let (get proxies item.Name) as |proxy|}} {{#let (service/health-checks item proxy) as |health|}}
{{#if (eq 'critical' health)}} At least one health check on one instance is failing. {{else if (eq 'warning' health)}} At least one health check on one instance has a warning. {{else if (eq 'passing' health)}} All health checks are passing. {{else}} There are no health checks. {{/if}}
{{/let}} {{/let}} {{#if (eq item.Kind 'terminating-gateway')}} {{item.Name}} {{else if (eq item.Kind 'ingress-gateway')}} {{item.Name}} {{else}} {{item.Name}} {{/if}}
{{/if}}