add atuin postgres push secret

This commit is contained in:
Joseph Hanson 2024-07-16 06:57:38 -05:00
parent 521c47ca02
commit abdc58e9c3
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -158,3 +158,33 @@ spec:
remoteRef:
remoteKey: radarr
property: RADARR_POSTGRES_PASSWORD
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/pushsecret_v1alpha1.json
apiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: atuin
spec:
refreshInterval: 1h
secretStoreRefs:
- name: onepassword-connect
kind: ClusterSecretStore
selector:
secret:
name: postgres-pguser-atuin
data:
- match:
secretKey: host
remoteRef:
remoteKey: atuin
property: ATUIN_POSTGRES_HOST
- match:
secretKey: user
remoteRef:
remoteKey: atuin
property: ATUIN_POSTGRES_USER
- match:
secretKey: password
remoteRef:
remoteKey: atuin
property: ATUIN_POSTGRES_PASSWORD