fix: hass db

This commit is contained in:
auricom
2025-01-21 00:59:14 +01:00
parent f4dc1e4174
commit a451049abb
3 changed files with 0 additions and 25 deletions

View File

@@ -67,10 +67,6 @@ spec:
databases:
- ghostfolio
password: *password
- name: home-assistant
databases:
- home-assistant
password: *password
- name: joplin
databases:
- joplin

View File

@@ -21,22 +21,3 @@ spec:
dataFrom:
- extract:
key: home-assistant
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: home-assistant-db
spec:
secretStoreRef:
kind: ClusterSecretStore
name: crunchy-pgo-secrets
target:
name: home-assistant-db-secret
template:
engineVersion: v2
data:
HASS_SECRET_DB_URL: 'postgres://{{ index . "user" }}:{{ index . "password" }}@{{ index . "host" }}/{{ index . "dbname" }}'
dataFrom:
- extract:
key: postgres-pguser-home-assistant

View File

@@ -50,8 +50,6 @@ spec:
envFrom:
- secretRef:
name: home-assistant-secret
- secretRef:
name: home-assistant-db-secret
probes:
liveness:
enabled: false