Implement Postgres Cluster - Add pgpool 23/67423/1
authorjoxu <joanna.xu@amdocs.com>
Tue, 18 Sep 2018 18:07:28 +0000 (18:07 +0000)
committerjoxu <joanna.xu@amdocs.com>
Tue, 18 Sep 2018 18:20:38 +0000 (18:20 +0000)
Issue-ID: OOM-1182

Change-Id: I1697eb42589c579668a1eeb8a1452dfd6eea0d16
Signed-off-by: joxu <joanna.xu@amdocs.com>
kubernetes/common/postgres/values.yaml

index 7552d24..28ee64b 100644 (file)
@@ -30,7 +30,7 @@ busyboxRepository: registry.hub.docker.com
 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 @@ container:
     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