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

21 lines
537 B
YAML
Raw Normal View History

2024-07-16 07:22:21 -05:00
---
2024-08-08 16:06:10 -05:00
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
2024-07-16 07:22:21 -05:00
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