Implement Postgres Cluster - Add pgpool
Issue-ID: OOM-1182
Change-Id: I1697eb42589c579668a1eeb8a1452dfd6eea0d16
Signed-off-by: joxu <joanna.xu@amdocs.com>
diff --git a/kubernetes/common/postgres/values.yaml b/kubernetes/common/postgres/values.yaml
index 7552d24..28ee64b 100644
--- a/kubernetes/common/postgres/values.yaml
+++ b/kubernetes/common/postgres/values.yaml
@@ -30,7 +30,7 @@
busyboxImage: library/busybox:latest
postgresRepository: crunchydata
-image: crunchy-postgres:centos7-10.3-1.8.2
+image: crunchy-postgres:centos7-10.4-2.0.0
pullPolicy: Always
# application configuration
@@ -46,6 +46,19 @@
primary: pgset-primary
replica: pgset-replica
+pgpool:
+ container:
+ port: 5432
+ name:
+ primary: pgset-primary
+ replica: pgset-replica
+ credentials:
+ pgusername: testuser
+ pgpassword: password
+ service:
+ name: pgpool
+
+
# default number of instances
replicaCount: 2