aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/pgpool/templates/configmap.yaml
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-08-29 16:46:23 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-31 17:52:07 +0000
commit67746cc7b0a56e1afbcb05da0ec2a14e26961fe3 (patch)
treeb8df12427c24bf8e72fd4045218f548a519d883b /kubernetes/common/pgpool/templates/configmap.yaml
parent1b085c1fb1ebc09c535f0c29e12af902556c731c (diff)
Implement pgpool to front postgresql statefulset
Issue-ID: OOM-1355 Change-Id: Icbb5c723dce7d876c4fbffa5f5c4255cf680f9cc Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
Diffstat (limited to 'kubernetes/common/pgpool/templates/configmap.yaml')
-rwxr-xr-xkubernetes/common/pgpool/templates/configmap.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/common/pgpool/templates/configmap.yaml b/kubernetes/common/pgpool/templates/configmap.yaml
new file mode 100755
index 0000000000..cc20b42581
--- /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 }}