add infra postgresql

This commit is contained in:
2024-07-17 12:55:32 +10:00
parent 01a78b1ae6
commit 99e405b0a5
4 changed files with 36 additions and 5 deletions

View File

@@ -1,9 +1,29 @@
auth:
postgresPassword: ${postgres_password}
username: ${username}
password: ${password}
database: ${database}
replicationPassword: ${replication_password}
postgresPassword:
valueFrom:
secretKeyRef:
name: postgresql-secrets
key: postgres_password
username:
valueFrom:
secretKeyRef:
name: postgresql-secrets
key: username
password:
valueFrom:
secretKeyRef:
name: postgresql-secrets
key: password
database:
valueFrom:
secretKeyRef:
name: postgresql-secrets
key: database
replicationPassword:
valueFrom:
secretKeyRef:
name: postgresql-secrets
key: replication_password
architecture: "replication"
replication:
synchronousCommit: "on"