Move consul config from shared NFS to configmap
Issue-ID: OOM-597
Change-Id: I708c3e9df16003a54462f76c6ffe513b270faae8
Signed-off-by: jasmineWen <jasmine.wen@amdocs.com>
diff --git a/kubernetes/consul/resources/config/consul-agent-config/appc-sdnctldb01-healthcheck.json b/kubernetes/consul/resources/config/consul-agent-config/appc-sdnctldb01-healthcheck.json
new file mode 100644
index 0000000..f36251a
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/appc-sdnctldb01-healthcheck.json
@@ -0,0 +1,14 @@
+{
+ "service": {
+ "name": "Health Check: APPC-SDN-CTL-DB-01",
+ "checks": [
+ {
+ "id": "appc-sdnctldb01.{{ .Values.nsPrefix }}",
+ "name": "APPC SDNCTLDB01 Health Check",
+ "tcp": "appc-sdnctldb01.{{ .Values.nsPrefix }}:3306",
+ "interval": "10s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}