mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
26 lines
718 B
YAML
26 lines
718 B
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/external-secrets.io/externalsecret_v1beta1.json
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: cloudnative-pg-postgres16-pgdump
|
|
namespace: default
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: onepassword-connect
|
|
target:
|
|
name: cloudnative-pg-postgres16-pgdump-secret
|
|
template:
|
|
engineVersion: v2
|
|
data:
|
|
# App
|
|
POSTGRES_HOST: postgres16-rw.database.svc.cluster.local
|
|
POSTGRES_USER: "{{ .POSTGRES_SUPER_USER }}"
|
|
POSTGRES_PASSWORD: "{{ .POSTGRES_SUPER_PASS }}"
|
|
POSTGRES_PORT: "5432"
|
|
dataFrom:
|
|
|
|
- extract:
|
|
key: cloudnative-pg
|