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 <jonas@janz.digital>
This commit is contained in:
Jonas Janz
2020-04-16 03:10:45 -07:00
committed by GitHub
parent c284dcf29f
commit c1bd921892
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 }}