From 18605f98a1277e7219ca54ea2b3769edfbd1fc06 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Tue, 1 Oct 2024 09:10:50 +0500 Subject: [PATCH] fix: Postgres | use async replicas only and add dogar.dev to certificate sans --- postgres/cluster.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/cluster.yaml b/postgres/cluster.yaml index 54cd76a..6660b68 100644 --- a/postgres/cluster.yaml +++ b/postgres/cluster.yaml @@ -6,12 +6,13 @@ metadata: namespace: postgres-system spec: instances: 3 - minSyncReplicas: 1 - maxSyncReplicas: 1 + minSyncReplicas: 0 + maxSyncReplicas: 0 primaryUpdateStrategy: unsupervised certificates: serverAltDNSNames: - postgres.home + - dogar.dev - localhost postgresql: pg_hba: @@ -26,7 +27,6 @@ spec: secret: name: postgres-password postInitSQL: - - 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp";' - 'CREATE USER shahab SUPERUSER;' - 'CREATE USER dogar SUPERUSER;' - 'CREATE USER leviathan;'