[home-assistant] Upgrade dependencies (#212)

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2020-11-24 17:04:08 +01:00 committed by GitHub
parent 23f9c09612
commit e621f470f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 36 deletions

View File

@ -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

View File

@ -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

View File

@ -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` |

View File

@ -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:

View File

@ -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: ""