summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/msb-discovery-deployment.yaml
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-09 15:59:00 +0800
committerrui hu <hu.rui2@zte.com.cn>2017-09-11 09:35:31 +0000
commitaac1c9286ad6ac099099a77d67bfe312b715c24c (patch)
tree5b94ab679b26e6b485b04620732b5983f8074635 /kubernetes/msb/templates/msb-discovery-deployment.yaml
parent8182ba93519a1466951fc0f980322391c50b2108 (diff)
Use domain name instead of IP for consul
Issue-Id: OOM-113 Change-Id: I41e6f72337a15c1d07b444b09171204d8eb378ec Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/msb/templates/msb-discovery-deployment.yaml')
-rw-r--r--kubernetes/msb/templates/msb-discovery-deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/msb/templates/msb-discovery-deployment.yaml b/kubernetes/msb/templates/msb-discovery-deployment.yaml
index 24cb3a5f8c..3af9e8f858 100644
--- a/kubernetes/msb/templates/msb-discovery-deployment.yaml
+++ b/kubernetes/msb/templates/msb-discovery-deployment.yaml
@@ -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