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:
|
databases:
|
||||||
- ghostfolio
|
- ghostfolio
|
||||||
password: *password
|
password: *password
|
||||||
- name: home-assistant
|
|
||||||
databases:
|
|
||||||
- home-assistant
|
|
||||||
password: *password
|
|
||||||
- name: joplin
|
- name: joplin
|
||||||
databases:
|
databases:
|
||||||
- joplin
|
- joplin
|
||||||
|
@@ -21,22 +21,3 @@ spec:
|
|||||||
dataFrom:
|
dataFrom:
|
||||||
- extract:
|
- extract:
|
||||||
key: home-assistant
|
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:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: home-assistant-secret
|
name: home-assistant-secret
|
||||||
- secretRef:
|
|
||||||
name: home-assistant-db-secret
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Reference in New Issue
Block a user