2024-10-22 20:57:38 -05:00
|
|
|
---
|
2024-10-22 22:54:11 -05:00
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
2024-10-22 20:57:38 -05:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: sonarr
|
|
|
|
spec:
|
|
|
|
refreshInterval: 1m
|
|
|
|
secretStoreRef:
|
|
|
|
kind: ClusterSecretStore
|
2024-10-22 22:54:11 -05:00
|
|
|
name: onepassword-connect
|
2024-10-22 20:57:38 -05:00
|
|
|
target:
|
|
|
|
name: sonarr-secret
|
|
|
|
template:
|
|
|
|
engineVersion: v2
|
|
|
|
data:
|
|
|
|
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
|
|
|
|
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
|
|
|
|
SONARR__AUTH__APIKEY: "{{ .api_key_anime }}"
|
2024-10-22 22:54:11 -05:00
|
|
|
dataFrom:
|
|
|
|
- extract:
|
|
|
|
key: pushover
|
|
|
|
- extract:
|
|
|
|
key: sonarr
|
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: sonarr-db
|
|
|
|
spec:
|
|
|
|
secretStoreRef:
|
|
|
|
name: crunchy-pgo-secrets
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
target:
|
|
|
|
name: sonarr-db-secret
|
|
|
|
template:
|
|
|
|
engineVersion: v2
|
|
|
|
data:
|
|
|
|
SONARR__POSTGRES__HOST: "{{ index . \"pgbouncer-host\" }}"
|
2024-10-22 20:57:38 -05:00
|
|
|
SONARR__POSTGRES__USER: "{{ .user }}"
|
|
|
|
SONARR__POSTGRES__PASSWORD: "{{ .password }}"
|
|
|
|
SONARR__POSTGRES__PORT: "{{ .port }}"
|
2024-10-22 22:54:11 -05:00
|
|
|
SONARR__POSTGRES__MAINDB: "{{ .dbname }}"
|
2024-10-22 20:57:38 -05:00
|
|
|
dataFrom:
|
|
|
|
- extract:
|
|
|
|
key: postgres-pguser-sonarr-anime
|