Merge pull request #844 from 3dwardch3ng/infra/metallb

fixing pg values issue
This commit is contained in:
2024-08-26 18:28:55 +10:00
committed by GitHub

View File

@@ -1,16 +1,16 @@
auth: auth:
username: edward username: edward
database: edwarddb database: edwarddb
existingSecret: postgresql-secrets existingSecret: "postgresql-secrets"
secretKeys: secretKeys:
adminPasswordKey: postgres_password adminPasswordKey: postgres_password
userPasswordKey: password userPasswordKey: password
replicationPasswordKey: replication_password replicationPasswordKey: replication_password
architecture: replication architecture: "replication"
replication: replication:
synchronousCommit: on synchronousCommit: "on"
numSynchronousReplicas: 1 numSynchronousReplicas: 1
applicationName: postgres_repl applicationName: "postgres_repl"
primary: primary:
podSecurityContext: podSecurityContext:
fsGroup: 1000 fsGroup: 1000
@@ -18,9 +18,9 @@ primary:
runAsUser: 1000 runAsUser: 1000
runAsGroup: 1000 runAsGroup: 1000
podLabels: podLabels:
name: postgresql-primary name: "postgresql-primary"
service: service:
type: LoadBalancer type: "LoadBalancer"
annotations: annotations:
metallb.universe.tf/address-pool: k3s-cluster-ip-pool metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster metallb.universe.tf/allow-shared-ip: k3s-cluster
@@ -32,16 +32,16 @@ primary:
persistentVolumeClaimRetentionPolicy: persistentVolumeClaimRetentionPolicy:
enabled: true enabled: true
readReplicas: readReplicas:
name: replica name: "replica"
podSecurityContext: podSecurityContext:
fsGroup: 1000 fsGroup: 1000
containerSecurityContext: containerSecurityContext:
runAsUser: 1000 runAsUser: 1000
runAsGroup: 1000 runAsGroup: 1000
podLabels: podLabels:
name: postgresql-replica name: "postgresql-replica"
service: service:
type: LoadBalancer type: "LoadBalancer"
ports: ports:
postgresql: 5433 postgresql: 5433
annotations: annotations: