diff --git a/app/kubernetes/ingress/converter.js b/app/kubernetes/ingress/converter.js index 5651e29da..8f7097f99 100644 --- a/app/kubernetes/ingress/converter.js +++ b/app/kubernetes/ingress/converter.js @@ -57,7 +57,9 @@ export class KubernetesIngressConverter { rule.IngressName = ingress.Name; rule.ServiceName = serviceName; rule.Port = p.ContainerPort; - rule.Path = _.startsWith(p.IngressRoute, '/') ? p.IngressRoute : '/' + p.IngressRoute; + if (p.IngressRoute) { + rule.Path = _.startsWith(p.IngressRoute, '/') ? p.IngressRoute : '/' + p.IngressRoute; + } rule.Host = p.IngressHost; ingress.Paths.push(rule); }