[stable/home-assistant] fix templates with go 1.14 (#21888)

Signed-off-by: Craig Cabrey <craigcabrey@gmail.com>
This commit is contained in:
Craig Cabrey
2020-04-13 06:03:48 -07:00
committed by GitHub
parent 222a70daba
commit e9fdfc1244
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.107.7
description: Home Assistant
name: home-assistant
version: 0.12.6
version: 0.12.7
keywords:
- home-assistant
- hass
@@ -1,4 +1,4 @@
{{- if (.Values.appdaemon.enabled) and (.Values.appdaemon.ingress.enabled) }}
{{- if and (.Values.appdaemon.enabled) (.Values.appdaemon.ingress.enabled) }}
{{- $fullName := include "home-assistant.fullname" . -}}
{{- $servicePort := .Values.appdaemon.service.port -}}
{{- $ingressPath := .Values.appdaemon.ingress.path -}}
@@ -1,4 +1,4 @@
{{- if (.Values.configurator.enabled) and (.Values.configurator.ingress.enabled) }}
{{- if and (.Values.configurator.enabled) (.Values.configurator.ingress.enabled) }}
{{- $fullName := include "home-assistant.fullname" . -}}
{{- $servicePort := .Values.configurator.service.port -}}
{{- $ingressPath := .Values.configurator.ingress.path -}}
@@ -170,7 +170,7 @@ spec:
name: {{ template "home-assistant.fullname" . }}-configurator
key: hass-api-password
{{- end }}
{{- if (.Values.configurator.username) and (.Values.configurator.password) }}
{{- if and (.Values.configurator.username) (.Values.configurator.password) }}
- name: HC_USERNAME
valueFrom:
secretKeyRef:
@@ -1,4 +1,4 @@
{{- if (.Values.vscode.enabled) and (.Values.vscode.ingress.enabled) }}
{{- if and (.Values.vscode.enabled) (.Values.vscode.ingress.enabled) }}
{{- $fullName := include "home-assistant.fullname" . -}}
{{- $servicePort := .Values.vscode.service.port -}}
{{- $ingressPath := .Values.vscode.ingress.path -}}