theshire/kubernetes/apps/default/linkwarden/app/externalsecret.yaml

22 lines
636 B
YAML
Raw Permalink Normal View History

2024-09-21 14:23:59 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: linkwarden
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: linkwarden-secret
template:
engineVersion: v2
data:
NEXTAUTH_SECRET: "{{ .LINKWARDEN_NEXTAUTH_SECRET }}"
DATABASE_URL: |-
2024-09-21 15:42:31 -05:00
postgres://{{ .LINKWARDEN_POSTGRES_USER }}:{{ .LINKWARDEN_POSTGRES_PASSWORD }}@postgres-primary-real.database.svc/linkwarden
2024-09-21 14:23:59 -05:00
dataFrom:
- extract:
key: linkwarden