From 7bb9e2be6ff081a3fb56fc95cc9a03b163bfa940 Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 9 Jul 2023 09:42:50 +0200 Subject: [PATCH] change(hass): use pree.dev chart --- projects/homeassistant/project.yaml | 11 +++++++-- .../homeassistant/values/homeassistant.yaml | 23 +++++++++++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/projects/homeassistant/project.yaml b/projects/homeassistant/project.yaml index c77b34e1..e9090ca1 100644 --- a/projects/homeassistant/project.yaml +++ b/projects/homeassistant/project.yaml @@ -1,17 +1,24 @@ config: description: Home Automation syncWave: 100 - repo: k8s-at-home apps: - name: homeassistant chart: home-assistant - targetRevision: 11.2.1 + repoURL: https://charts.pree.dev + targetRevision: 1.21.1 secrets: - name: bucket keys: - accesskey - secretkey + - name: influx + keys: + - admin-user-password + - admin-user-token + - user-password + - read-user-password + - write-user-password include: - ingress-internal diff --git a/projects/homeassistant/values/homeassistant.yaml b/projects/homeassistant/values/homeassistant.yaml index 6a4e44ba..5e61e4c0 100644 --- a/projects/homeassistant/values/homeassistant.yaml +++ b/projects/homeassistant/values/homeassistant.yaml @@ -3,13 +3,22 @@ image: tag: 2023.7.1 env: - TZ: UTC + TZ: Europe/Berlin influxdb: - architecture: standalone - authEnabled: false - database: home_assistant enabled: true + auth: + createUserToken: true + user: + username: homeassistant + org: primary + bucket: primary + readUser: + username: grafana + writeUser: + username: homeassistant + existingSecret: influx + database: home_assistant persistence: enabled: true size: 8Gi @@ -61,3 +70,9 @@ postgresql: securityContext: privileged: false + +service: + main: + ports: + http: + port: 8123