mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: lidarr
|
|
namespace: default
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: onepassword-connect
|
|
target:
|
|
name: lidarr-secret
|
|
template:
|
|
engineVersion: v2
|
|
data:
|
|
LIDARR__API_KEY: "{{ .LIDARR__API_KEY }}"
|
|
PUSHOVER_API_TOKEN: "{{ .PUSHOVER_API_TOKEN }}"
|
|
PUSHOVER_USER_KEY: "{{ .PUSHOVER_USER_KEY }}"
|
|
dataFrom:
|
|
- extract:
|
|
key: pushover
|
|
- extract:
|
|
key: lidarr
|
|
---
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: lidarr-db
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: crunchy-pgo-secrets
|
|
target:
|
|
name: lidarr-db-secret
|
|
template:
|
|
engineVersion: v2
|
|
data:
|
|
LIDARR__POSTGRES__MAINDB: '{{ index . "dbname" }}'
|
|
LIDARR__POSTGRES__LOGDB: lidarr_log
|
|
LIDARR__POSTGRES__HOST: '{{ index . "host" }}'
|
|
LIDARR__POSTGRES__USER: '{{ index . "user" }}'
|
|
LIDARR__POSTGRES__PASSWORD: '{{ index . "password" }}'
|
|
LIDARR__POSTGRES__PORT: '{{ index . "port" }}'
|
|
dataFrom:
|
|
- extract:
|
|
key: postgres-pguser-lidarr
|