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/templates/configmap.yaml b/kubernetes/common/pgpool/templates/configmap.yaml
new file mode 100755
index 0000000..cc20b42
--- /dev/null
+++ b/kubernetes/common/pgpool/templates/configmap.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: {{ .Release.Name }}-pgpool-configmap
+  namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ .Release.Name }}
+    heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "configs/*").AsConfig . | indent 2 }}