mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/home-assistant] fix templates with go 1.14 (#21888)
Signed-off-by: Craig Cabrey <craigcabrey@gmail.com>
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user