diff --git a/charts/home-assistant/Chart.yaml b/charts/home-assistant/Chart.yaml index 1539b4eb..e951cd5a 100644 --- a/charts/home-assistant/Chart.yaml +++ b/charts/home-assistant/Chart.yaml @@ -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 diff --git a/charts/home-assistant/README.md b/charts/home-assistant/README.md index e8377690..d39d5b57 100644 --- a/charts/home-assistant/README.md +++ b/charts/home-assistant/README.md @@ -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 | `[]` | diff --git a/charts/home-assistant/values.yaml b/charts/home-assistant/values.yaml index c1680a83..47513e39 100644 --- a/charts/home-assistant/values.yaml +++ b/charts/home-assistant/values.yaml @@ -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