fix: Postgres | use async replicas only and add dogar.dev to certificate sans
This commit is contained in:
@@ -6,12 +6,13 @@ metadata:
|
|||||||
namespace: postgres-system
|
namespace: postgres-system
|
||||||
spec:
|
spec:
|
||||||
instances: 3
|
instances: 3
|
||||||
minSyncReplicas: 1
|
minSyncReplicas: 0
|
||||||
maxSyncReplicas: 1
|
maxSyncReplicas: 0
|
||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
certificates:
|
certificates:
|
||||||
serverAltDNSNames:
|
serverAltDNSNames:
|
||||||
- postgres.home
|
- postgres.home
|
||||||
|
- dogar.dev
|
||||||
- localhost
|
- localhost
|
||||||
postgresql:
|
postgresql:
|
||||||
pg_hba:
|
pg_hba:
|
||||||
@@ -26,7 +27,6 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
name: postgres-password
|
name: postgres-password
|
||||||
postInitSQL:
|
postInitSQL:
|
||||||
- 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp";'
|
|
||||||
- 'CREATE USER shahab SUPERUSER;'
|
- 'CREATE USER shahab SUPERUSER;'
|
||||||
- 'CREATE USER dogar SUPERUSER;'
|
- 'CREATE USER dogar SUPERUSER;'
|
||||||
- 'CREATE USER leviathan;'
|
- 'CREATE USER leviathan;'
|
||||||
|
|||||||
Reference in New Issue
Block a user