Skip to content

Commit

Permalink
fix(homeassistant): fix port for VSCode extension (helm#21956)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
PixelJonas authored Apr 16, 2020
1 parent c284dcf commit c1bd921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/home-assistant/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/home-assistant/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c1bd921

Please sign in to comment.