theshire/kubernetes/apps/database/crunchy-postgres-operator/cluster/pushsecret.yaml

85 lines
2 KiB
YAML
Raw Normal View History

---
# 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:
2024-04-10 08:44:17 -05:00
name: postgres-pguser-grafana
data:
- match:
secretKey: dbname
remoteRef:
remoteKey: grafana
property: GF_DATABASE_NAME
- match:
secretKey: host
remoteRef:
remoteKey: grafana
property: GF_DATABASE_HOST
- match:
secretKey: user
remoteRef:
remoteKey: grafana
property: GF_DATABASE_USER
- match:
secretKey: password
remoteRef:
remoteKey: grafana
property: GF_DATABASE_PASSWORD
2024-04-10 10:52:03 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/pushsecret_v1alpha1.json
apiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: gatus
spec:
refreshInterval: 1h
secretStoreRefs:
- name: onepassword-connect
kind: ClusterSecretStore
selector:
secret:
name: postgres-pguser-gatus
data:
- match:
secretKey: uri
remoteRef:
remoteKey: gatus
2024-04-10 11:35:08 -05:00
property: DATABASE_URI
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/pushsecret_v1alpha1.json
apiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: prowlarr
spec:
refreshInterval: 1h
secretStoreRefs:
- name: onepassword-connect
kind: ClusterSecretStore
selector:
secret:
name: postgres-pguser-prowlarr
data:
- match:
secretKey: host
remoteRef:
remoteKey: prowlarr
property: PROWLARR__POSTGRES_HOST
- match:
secretKey: user
remoteRef:
remoteKey: prowlarr
property: PROWLARR__POSTGRES_USER
- match:
secretKey: password
remoteRef:
remoteKey: prowlarr
property: PROWLARR__POSTGRES_PASSWORD