mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: hass db
This commit is contained in:
@@ -67,10 +67,6 @@ spec:
|
||||
databases:
|
||||
- ghostfolio
|
||||
password: *password
|
||||
- name: home-assistant
|
||||
databases:
|
||||
- home-assistant
|
||||
password: *password
|
||||
- name: joplin
|
||||
databases:
|
||||
- joplin
|
||||
|
@@ -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
|
||||
|
@@ -50,8 +50,6 @@ spec:
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: home-assistant-secret
|
||||
- secretRef:
|
||||
name: home-assistant-db-secret
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
|
Reference in New Issue
Block a user