mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
Create externalsecret.yaml
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: radarr-archive-db
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: crunchy-pgo-secrets
|
||||
target:
|
||||
name: radarr-archive-db-secret
|
||||
template:
|
||||
engineVersion: v2
|
||||
data:
|
||||
RADARR__POSTGRES__MAINDB: '{{ index . "dbname" }}'
|
||||
RADARR__POSTGRES__LOGDB: radarr_archive_log
|
||||
RADARR__POSTGRES__HOST: '{{ index . "host" }}'
|
||||
RADARR__POSTGRES__USER: '{{ index . "user" }}'
|
||||
RADARR__POSTGRES__PASSWORD: '{{ index . "password" }}'
|
||||
RADARR__POSTGRES__PORT: '{{ index . "port" }}'
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: postgres-pguser-radarr-archive
|
Reference in New Issue
Block a user