From a6f14052fe3f7384aa56ecf8b27aaa06186d07c9 Mon Sep 17 00:00:00 2001 From: Andrew Johnson <22807686+blackandred@users.noreply.github.com> Date: Tue, 3 May 2022 20:00:00 +0200 Subject: [PATCH] fix: Typo in Helm that blocked `useHostPorts` option from working --- helm/sni-router/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/sni-router/templates/deployment.yaml b/helm/sni-router/templates/deployment.yaml index 5ac5cde..7be7d81 100644 --- a/helm/sni-router/templates/deployment.yaml +++ b/helm/sni-router/templates/deployment.yaml @@ -46,14 +46,14 @@ spec: ports: - containerPort: 8080 name: http - {{- if .values.service.useHostPorts }} + {{- if .Values.service.useHostPorts }} hostPort: 80 {{- end }} - containerPort: 8081 name: metrics - containerPort: 4443 name: tls - {{- if .values.service.useHostPorts }} + {{- if .Values.service.useHostPorts }} hostPort: 443 {{- end }} volumeMounts: