mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
✨ cloudnative-pg migration
This commit is contained in:
@@ -15,9 +15,9 @@ spec:
|
||||
data:
|
||||
# App
|
||||
DB_ENGINE: django.db.backends.postgresql_psycopg2
|
||||
DB_OPTIONS: '{"sslmode":"require"}'
|
||||
# DB_OPTIONS: '{"sslmode":"require"}'
|
||||
SECRET_KEY: "{{ .TANDOOR_SECRET_KEY }}"
|
||||
POSTGRES_HOST: &dbHost postgres.${SECRET_DOMAIN}
|
||||
POSTGRES_HOST: &dbHost postgres16-rw.database.svc.cluster.local
|
||||
POSTGRES_PORT: "5432"
|
||||
POSTGRES_DB: &dbName tandoor
|
||||
POSTGRES_USER: &dbUser "{{ .TANDOOR_POSTGRES_USER }}"
|
||||
@@ -30,6 +30,6 @@ spec:
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: generic
|
||||
key: cloudnative-pg
|
||||
- extract:
|
||||
key: tandoor
|
||||
|
Reference in New Issue
Block a user