From e621f470f5b35c0017c7972b622aafd4e7913ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= <6213398+bjw-s@users.noreply.github.com> Date: Tue, 24 Nov 2020 17:04:08 +0100 Subject: [PATCH] [home-assistant] Upgrade dependencies (#212) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ᗪєνιη ᗷυнʟ --- charts/home-assistant/CHANGELOG.md | 34 +++++++++++++++++++++ charts/home-assistant/Chart.yaml | 14 +++------ charts/home-assistant/README.md | 11 +++++-- charts/home-assistant/templates/secret.yaml | 7 +++-- charts/home-assistant/values.yaml | 30 +++++------------- 5 files changed, 60 insertions(+), 36 deletions(-) create mode 100644 charts/home-assistant/CHANGELOG.md diff --git a/charts/home-assistant/CHANGELOG.md b/charts/home-assistant/CHANGELOG.md new file mode 100644 index 00000000..151475dd --- /dev/null +++ b/charts/home-assistant/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [3.0.0] + +### Changed + +- The default `home-assistant` image has been updated to v0.118.3. +- The default `vscode` image has been updated to 3.7.2 +- :warning: Upgraded `influxdb` subchart from version 0.6.7 to version 1.0.0. +- :warning: Upgraded `postgresql` subchart from version 9.1.2 to version 10.1.0. + This is a major version update, [requiring changes](https://github.com/bitnami/charts/tree/master/bitnami/postgresql#to-1000) in your `values.yaml` if you use it! +- :warning: Upgraded `mariadb` subchart from version 7.7.1 to version 9.0.1. + This is a major version update, [requiring changes](https://github.com/bitnami/charts/tree/master/bitnami/mariadb#to-900) in your `values.yaml` if you use it! + +### Removed + +- Subchart support for `esphome` was removed as it is really a separate application and integration was only limited to sharing a secrets file. + +### Fixed + +- Fixed some formatting errors that were causing the pipeline to fail. + +## [2.7.0] + +This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face: + + +[3.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-3.0.0/charts/home-assistant + +[2.7.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-2.7.0/charts/home-assistant diff --git a/charts/home-assistant/Chart.yaml b/charts/home-assistant/Chart.yaml index b91a97fc..061c3f26 100644 --- a/charts/home-assistant/Chart.yaml +++ b/charts/home-assistant/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 0.116.1 +appVersion: 0.118.3 description: Home Assistant name: home-assistant -version: 2.7.0 +version: 3.0.0 keywords: - home-assistant - hass @@ -20,19 +20,15 @@ maintainers: - name: runningman84 email: phil@hellmi.de dependencies: -- name: esphome - repository: https://k8s-at-home.com/charts/ - version: ~2.2.0 - condition: esphome.enabled - name: postgresql - version: 9.1.2 + version: 10.1.0 repository: https://charts.bitnami.com/bitnami condition: postgresql.enabled - name: mariadb - version: 7.7.1 + version: 9.0.1 repository: https://charts.bitnami.com/bitnami condition: mariadb.enabled - name: influxdb - version: 0.6.7 + version: 1.0.0 repository: https://charts.bitnami.com/bitnami condition: influxdb.enabled diff --git a/charts/home-assistant/README.md b/charts/home-assistant/README.md index e109daca..8cb50d83 100644 --- a/charts/home-assistant/README.md +++ b/charts/home-assistant/README.md @@ -2,6 +2,8 @@ This is a helm chart for [Home Assistant](https://www.home-assistant.io/) +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)** + ## TL;DR; ```shell @@ -9,6 +11,10 @@ helm repo add k8s-at-home https://k8s-at-home.com/charts/ helm install k8s-at-home/home-assistant ``` +## :star2: Changelog + +Please refer to [CHANGELOG.md](CHANGELOG.md) for an overview of notable changes to the chart. **This is especially important for major version updates!** + ## Introduction This code is adapted for [the official home assistant docker image](https://hub.docker.com/r/homeassistant/home-assistant/) @@ -38,7 +44,7 @@ The following tables lists the configurable parameters of the Home Assistant cha | Parameter | Description | Default | |-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------| | `image.repository` | Image repository | `homeassistant/home-assistant` | -| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.114.0` | +| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.118.3` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullSecrets` | Secrets to use when pulling the image | `[]` | | `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` | @@ -130,7 +136,7 @@ The following tables lists the configurable parameters of the Home Assistant cha | `configurator.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the configurator UI | `[]` | | `vscode.enabled` | Enable the optional [VS Code Server Sidecar](https://github.com/cdr/code-server) | `false` | | `vscode.image.repository` | Image repository | `codercom/code-server` | -| `vscode.image.tag` | Image tag | `3.4.1` | +| `vscode.image.tag` | Image tag | `3.7.2` | | `vscode.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `vscode.hassConfig` | Base path of the home assistant configuration files | `/config` | | `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` | @@ -174,7 +180,6 @@ The following tables lists the configurable parameters of the Home Assistant cha | `appdaemon.service.externalIPs` | External IPs for the AppDaemon UI | `[]` | | `appdaemon.service.loadBalancerIP` | Loadbalancer IP for the AppDaemon UI | `` | | `appdaemon.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the VS Code UI | `[]` | -| `esphome.enabled` | Enable the optional [ESPHome](https://esphome.io) deployment | `false` | | `mariadb.enabled` | Enable the optional [Mariadb](https://github.com/bitnami/charts) deployment | `false` | | `postgresql.enabled` | Enable the optional [Postgres](https://github.com/bitnami/charts) deployment | `false` | | `influxdb.enabled` | Enable the optional [Influxdb](https://github.com/bitnami/charts) deployment | `false` | diff --git a/charts/home-assistant/templates/secret.yaml b/charts/home-assistant/templates/secret.yaml index 9cf83a4f..60eb2539 100644 --- a/charts/home-assistant/templates/secret.yaml +++ b/charts/home-assistant/templates/secret.yaml @@ -1,4 +1,5 @@ {{- if .Values.configurator.enabled }} +--- apiVersion: v1 kind: Secret metadata: @@ -20,8 +21,9 @@ data: password: {{ .Values.configurator.password | b64enc | quote }} {{- end }} {{- end }} ---- + {{- if .Values.vscode.enabled }} +--- apiVersion: v1 kind: Secret metadata: @@ -37,8 +39,9 @@ data: password: {{ .Values.vscode.password | b64enc | quote }} {{- end }} {{- end }} ---- + {{- if .Values.appdaemon.enabled }} +--- apiVersion: v1 kind: Secret metadata: diff --git a/charts/home-assistant/values.yaml b/charts/home-assistant/values.yaml index a17bb935..9eab72f1 100644 --- a/charts/home-assistant/values.yaml +++ b/charts/home-assistant/values.yaml @@ -4,7 +4,7 @@ image: repository: homeassistant/home-assistant - tag: 0.116.1 + tag: 0.118.3 pullPolicy: IfNotPresent pullSecrets: [] @@ -252,7 +252,7 @@ vscode: ## image: repository: codercom/code-server - tag: 3.4.1 + tag: 3.7.2 pullPolicy: IfNotPresent ## VSCode password @@ -350,31 +350,17 @@ appdaemon: loadBalancerSourceRanges: [] # nodePort: 30000 -esphome: - enabled: false - # Mount home-assistant's secrets.yaml into the esphome container. - extraVolumes: - - name: ha-config - persistentVolumeClaim: - claimName: home-assistant - extraVolumeMounts: - - name: ha-config - mountPath: /config/secrets.yaml - subPath: secrets.yaml - # Enabled mariadb # ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb mariadb: enabled: false - db: - name: home-assistant - user: home-assistant + architecture: standalone + auth: + database: home-assistant + username: home-assistant password: home-assistant-pass - replication: - enabled: false - rootUser: - password: home-assistantrootpass - master: + rootPassword: home-assistantrootpass + primary: persistence: enabled: false # storageClass: ""