---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/pushsecret_v1alpha1.json
apiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: grafana
spec:
refreshInterval: 1h
secretStoreRefs:
- name: onepassword-connect
kind: ClusterSecretStore
selector:
secret:
name: postgres-pguser-grafana
data:
- match:
secretKey: dbname
remoteRef:
remoteKey: grafana
property: GF_DATABASE_NAME
secretKey: host
property: GF_DATABASE_HOST
secretKey: user
property: GF_DATABASE_USER
secretKey: password
property: GF_DATABASE_PASSWORD
name: gatus
name: postgres-pguser-gatus
secretKey: uri
remoteKey: gatus
property: DATABASE_URI
name: prowlarr
name: postgres-pguser-prowlarr
remoteKey: prowlarr
property: PROWLARR__POSTGRES_HOST
property: PROWLARR__POSTGRES_USER
property: PROWLARR__POSTGRES_PASSWORD