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

21 lines
537 B
YAML
Raw Normal View History

2024-09-05 03:50:47 -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: atuin
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: atuin-secret
template:
engineVersion: v2
data:
ATUIN_DB_URI: |-
postgres://{{ .ATUIN_POSTGRES_USER }}:{{ .ATUIN_POSTGRES_PASSWORD }}@{{ .ATUIN_POSTGRES_HOST }}/atuin
dataFrom:
- extract:
key: atuin