This repository has been archived on 2025-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
theshire/kubernetes/apps/default/autobrr/app/externalsecret.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2024-09-05 05:01:24 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
2025-01-01 01:17:13 -06:00
metadata:
name: autobrr-db
spec:
secretStoreRef:
kind: ClusterSecretStore
2025-01-01 02:22:20 -06:00
name: crunchy-pgo-secrets
2025-01-01 01:17:13 -06:00
target:
name: autobrr-db-secret
template:
engineVersion: v2
data:
AUTOBRR__DATABASE_TYPE: postgres
AUTOBRR__POSTGRES_DATABASE: "{{ .dbname }}"
AUTOBRR__POSTGRES_HOST: "{{ index . \"pgbouncer-host\" }}"
AUTOBRR__POSTGRES_USER: "{{ .user }}"
AUTOBRR__POSTGRES_PASS: "{{ .password }}"
AUTOBRR__POSTGRES_PORT: "{{ .port }}"
dataFrom:
- extract:
2025-01-01 02:15:30 -06:00
key: postgres-pguser-autobrr
2025-01-01 01:17:13 -06:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
2024-09-05 05:01:24 -05:00
metadata:
name: autobrr
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: autobrr-secret
template:
engineVersion: v2
data:
AUTOBRR__SESSION_SECRET: "{{ .AUTOBRR_SESSION_SECRET }}"
dataFrom:
- extract:
key: autobrr