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

21 lines
555 B
YAML
Raw Permalink Normal View History

2024-07-16 07:22:21 -05:00
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.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