From 9fef5d68b11413e66b97e7cb6552530ef348d2f7 Mon Sep 17 00:00:00 2001 From: Derek Gaffney <17263955+gaffneyd4@users.noreply.github.com> Date: Thu, 30 Mar 2023 07:56:42 -0400 Subject: [PATCH] Route by port name instead of number --- charts/longhorn/templates/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/longhorn/templates/ingress.yaml b/charts/longhorn/templates/ingress.yaml index 402c624e..a78bbb92 100644 --- a/charts/longhorn/templates/ingress.yaml +++ b/charts/longhorn/templates/ingress.yaml @@ -34,10 +34,10 @@ spec: service: name: longhorn-frontend port: - number: 80 + name: http {{- else }} serviceName: longhorn-frontend - servicePort: 80 + servicePort: http {{- end }} {{- if .Values.ingress.tls }} tls: