From 69b1a9015ff3a5b31fbefe8196b6a3aefe566f18 Mon Sep 17 00:00:00 2001 From: Bernd Schorgers Date: Thu, 11 Jan 2024 20:50:50 +0100 Subject: [PATCH] feat(home-assistant)!: Remove postgres db --- .../home-automation/home-assistant/app/helmrelease.yaml | 6 ------ .../home-automation/home-assistant/app/kustomization.yaml | 1 - kubernetes/main/apps/home-automation/home-assistant/ks.yaml | 5 +---- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/kubernetes/main/apps/home-automation/home-assistant/app/helmrelease.yaml b/kubernetes/main/apps/home-automation/home-assistant/app/helmrelease.yaml index ca1fa240eaa..ba57d0eb40a 100644 --- a/kubernetes/main/apps/home-automation/home-assistant/app/helmrelease.yaml +++ b/kubernetes/main/apps/home-automation/home-assistant/app/helmrelease.yaml @@ -40,12 +40,6 @@ spec: image: repository: ghcr.io/home-assistant/home-assistant tag: 2024.1.2 - env: - SECRET_RECORDER_DB_URL: - valueFrom: - secretKeyRef: - name: "${APP}-pguser-${DB_USER}" - key: uri envFrom: - secretRef: name: home-assistant-secret diff --git a/kubernetes/main/apps/home-automation/home-assistant/app/kustomization.yaml b/kubernetes/main/apps/home-automation/home-assistant/app/kustomization.yaml index 1f68be32e59..aa16214e753 100644 --- a/kubernetes/main/apps/home-automation/home-assistant/app/kustomization.yaml +++ b/kubernetes/main/apps/home-automation/home-assistant/app/kustomization.yaml @@ -5,5 +5,4 @@ resources: - ./externalsecret.yaml - ./helmrelease.yaml - ./networkpolicy.yaml - - ../../../../templates/postgres-database - ../../../../templates/volsync diff --git a/kubernetes/main/apps/home-automation/home-assistant/ks.yaml b/kubernetes/main/apps/home-automation/home-assistant/ks.yaml index ca29dc10863..efd738783d3 100644 --- a/kubernetes/main/apps/home-automation/home-assistant/ks.yaml +++ b/kubernetes/main/apps/home-automation/home-assistant/ks.yaml @@ -22,8 +22,6 @@ spec: - name: rook-ceph-cluster - name: volsync - name: external-secrets-stores - - name: external-secrets-cluster-secrets - - name: crunchy-postgres-operator postBuild: substitute: APP: *appname @@ -31,5 +29,4 @@ spec: APP_UID: "0" APP_GID: "0" VOLSYNC_CLAIM: home-assistant-config - DB_NAME: home-assistant - DB_USER: home-assistant + VOLSYNC_CAPACITY: 5Gi