From a433fe15e5566b4dec092b2e8ba2ad35311a9f00 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Sun, 31 Mar 2019 16:02:32 -0400 Subject: [PATCH] fixing label-name migration and bumping image version (#12689) Signed-off-by: Jeff Billimek --- stable/home-assistant/Chart.yaml | 4 ++-- stable/home-assistant/templates/deployment.yaml | 8 ++++---- stable/home-assistant/templates/pvc.yaml | 8 ++++---- stable/home-assistant/values.yaml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/stable/home-assistant/Chart.yaml b/stable/home-assistant/Chart.yaml index 39b064e003..6197bbb378 100644 --- a/stable/home-assistant/Chart.yaml +++ b/stable/home-assistant/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: 0.89.1 +appVersion: 0.90.2 description: Home Assistant name: home-assistant -version: 0.6.1 +version: 0.6.2 keywords: - home-assistant - hass diff --git a/stable/home-assistant/templates/deployment.yaml b/stable/home-assistant/templates/deployment.yaml index aa356d53b9..051407964c 100644 --- a/stable/home-assistant/templates/deployment.yaml +++ b/stable/home-assistant/templates/deployment.yaml @@ -13,13 +13,13 @@ spec: type: {{ .Values.strategyType }} selector: matchLabels: - app: {{ template "home-assistant.name" . }} - release: {{ .Release.Name }} + app.kubernetes.io/name: {{ include "home-assistant.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: - app: {{ template "home-assistant.name" . }} - release: {{ .Release.Name }} + app.kubernetes.io/name: {{ include "home-assistant.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} spec: {{- with .Values.image.pullSecrets }} imagePullSecrets: diff --git a/stable/home-assistant/templates/pvc.yaml b/stable/home-assistant/templates/pvc.yaml index b5d89da135..13616b7cf5 100644 --- a/stable/home-assistant/templates/pvc.yaml +++ b/stable/home-assistant/templates/pvc.yaml @@ -5,10 +5,10 @@ apiVersion: v1 metadata: name: {{ template "home-assistant.fullname" . }} labels: - app: {{ template "home-assistant.fullname" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" + app.kubernetes.io/name: {{ include "home-assistant.name" . }} + helm.sh/chart: {{ include "home-assistant.chart" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} spec: accessModes: - {{ .Values.persistence.accessMode | quote }} diff --git a/stable/home-assistant/values.yaml b/stable/home-assistant/values.yaml index 2a95fb7ef9..8e8a604f44 100644 --- a/stable/home-assistant/values.yaml +++ b/stable/home-assistant/values.yaml @@ -4,7 +4,7 @@ image: repository: homeassistant/home-assistant - tag: 0.89.1 + tag: 0.90.2 pullPolicy: IfNotPresent pullSecrets: []