Use domain name instead of IP for consul
[oom.git] / kubernetes / msb / templates / msb-discovery-deployment.yaml
index 24cb3a5..3af9e8f 100644 (file)
@@ -21,7 +21,7 @@ spec:
         name: "msb-discovery"
         env:
         - name: CONSUL_IP
-          value: "{{ .Values.consulClusterIP }}"
+          value: msb-consul.{{ .Values.nsPrefix }}-msb
         ports:
         - containerPort: {{ .Values.discoveryPort }}
           name: msb-discovery