1 parent
cd2b7d8f7f
commit
72425589b5
5 files changed
+262
-11
No files matched your search
@@ -0,0 +1,67 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: &name prowlarr
|
||||
spec:
|
||||
target:
|
||||
name: *name
|
||||
deletionPolicy: Delete
|
||||
template:
|
||||
type: Opaque
|
||||
data:
|
||||
# App
|
||||
PROWLARR__AUTH__APIKEY: "{{ .PROWLARR_API_KEY }}"
|
||||
PROWLARR__POSTGRES__HOST: &dbHost postgres-rw.databases.svc.cluster.local
|
||||
PROWLARR__POSTGRES__PORT: "5432"
|
||||
PROWLARR__POSTGRES__USER: &dbUser "{{ .PROWLARR_POSTGRES_USER }}"
|
||||
PROWLARR__POSTGRES__PASSWORD: &dbPass "{{ .PROWLARR_POSTGRES_PASSWORD }}"
|
||||
PROWLARR__POSTGRES__MAINDB: &dbName prowlarr_main
|
||||
# Postgres Init
|
||||
INIT_POSTGRES_DBNAME: *dbName
|
||||
INIT_POSTGRES_HOST: *dbHost
|
||||
INIT_POSTGRES_USER: *dbUser
|
||||
INIT_POSTGRES_PASS: *dbPass
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_ADMIN_PASS }}"
|
||||
data:
|
||||
- secretKey: PROWLARR_API_KEY
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: bitwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: &secretApiKey ae9d8486-9279-4790-ac34-64c8922bb414
|
||||
property: password
|
||||
- secretKey: PROWLARR_POSTGRES_USER
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: bitwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: &secretDatabaseKey bce2ff77-66cd-47bd-a9e7-160c2d3bb616
|
||||
property: username
|
||||
- secretKey: PROWLARR_POSTGRES_PASSWORD
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: bitwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: *secretDatabaseKey
|
||||
property: password
|
||||
- secretKey: POSTGRES_ADMIN_USER
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: bitwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: &secretAdminDatabaseKey 88217883-df53-4c96-aad7-f3b2142382de
|
||||
property: username
|
||||
- secretKey: POSTGRES_ADMIN_PASS
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: bitwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: *secretAdminDatabaseKey
|
||||
property: password
|
||||
Reference in new issue
Block a user