[home-assistant] Home assistant/db dependencies (#321)

* enable dependent chart support for mariadb and postgres

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* forgot to include the values.yaml file in commit

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* default postgres persistence to disabled

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* bump chart version to 1.2.1

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* add commented out storageClass designations for both postgres and mariadb

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* bump chart version

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* bump chart, rename to full postgresql

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* bump chart

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* nested the postgres wrong, bumped chart version

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* revert to v1.2.0 for PR

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* fix name for postgresql in readme

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

Co-authored-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Ryan Holt 2020-08-13 11:33:51 -04:00 committed by GitHub
parent 5d92d0fe9a
commit b247d19865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.114.0
description: Home Assistant
name: home-assistant
version: 1.1.1
version: 1.2.0
keywords:
- home-assistant
- hass
@ -24,3 +24,11 @@ dependencies:
repository: https://billimek.com/billimek-charts
version: ~1.0.0
condition: esphome.enabled
- name: postgresql
version: 9.1.2
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 7.7.1
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@ -171,6 +171,8 @@ The following tables lists the configurable parameters of the Home Assistant cha
| `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` |
| `resources` | CPU/Memory resource requests/limits or the home-assistant GUI | `{}` |
| `nodeSelector` | Node labels for pod assignment or the home-assistant GUI | `{}` |
| `tolerations` | Toleration labels for pod assignment or the home-assistant GUI | `[]` |

View File

@ -334,6 +334,31 @@ esphome:
mountPath: /config/secrets.yaml
subPath: secrets.yaml
mariadb:
enabled: false
db:
name: home-assistant
user: home-assistant
password: home-assistant-pass
replication:
enabled: false
rootUser:
password: home-assistantrootpass
master:
persistence:
enabled: false
# storageClass: ""
postgresql:
enabled: false
global:
postgresql:
postgresqlUsername: home-assistant
postgresqlPassword: home-assistant-pass
postgresqlDatabase: home-assistant
persistence:
enabled: false
# storageClass: ""
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little