From c1bd92189296e4e3ae248f27da4fc7c2138b2648 Mon Sep 17 00:00:00 2001 From: Jonas Janz Date: Thu, 16 Apr 2020 12:10:45 +0200 Subject: [PATCH] fix(homeassistant): fix port for VSCode extension (#21956) When we specifiy vscode.service.port the port get's adjusted everywhere but in the targetPort definition of the home-assistant service. This PR fixes that. Signed-off-by: PixelJonas --- stable/home-assistant/Chart.yaml | 2 +- stable/home-assistant/templates/service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/home-assistant/Chart.yaml b/stable/home-assistant/Chart.yaml index ff4fa86226..f0f2092601 100644 --- a/stable/home-assistant/Chart.yaml +++ b/stable/home-assistant/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.107.7 description: Home Assistant name: home-assistant -version: 0.12.7 +version: 0.12.8 keywords: - home-assistant - hass diff --git a/stable/home-assistant/templates/service.yaml b/stable/home-assistant/templates/service.yaml index e44ecece02..94602313ee 100644 --- a/stable/home-assistant/templates/service.yaml +++ b/stable/home-assistant/templates/service.yaml @@ -58,7 +58,7 @@ spec: - name: vscode port: {{ .Values.vscode.service.port }} protocol: TCP - targetPort: 80 + targetPort: {{ .Values.vscode.service.port }} {{ if (and (eq .Values.vscode.service.type "NodePort") (not (empty .Values.vscode.service.nodePort))) }} nodePort: {{.Values.vscode.service.nodePort}} {{ end }}