Implement pgpool to front postgresql statefulset
Issue-ID: OOM-1355
Change-Id: Icbb5c723dce7d876c4fbffa5f5c4255cf680f9cc
Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
diff --git a/kubernetes/common/pgpool/values.yaml b/kubernetes/common/pgpool/values.yaml
new file mode 100644
index 0000000..8e74742
--- /dev/null
+++ b/kubernetes/common/pgpool/values.yaml
@@ -0,0 +1,28 @@
+# Copyright © 2018 Amdocs, AT&T, Bell Canada
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: pgpool
+container:
+ port: 5432
+ name:
+ primary: pgset-primary
+ replica: pgset-replica
+credentials:
+ pgusername: testuser
+ pgpassword: password
+serviceType: ClusterIP
+image:
+ repository: crunchydata
+ container: crunchy-pgpool
+ tag: centos7-10.4-2.0.0