Remove hardcoded IP value 61/21461/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 31 Oct 2017 10:39:38 +0000 (10:39 +0000)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 31 Oct 2017 10:39:44 +0000 (10:39 +0000)
Issue-Id: OOM-355
Change-Id: Iafc3ec55cd6b954fb9ba818376948ebc7c4c4711
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
kubernetes/msb/templates/msb-eag-deployment.yaml
kubernetes/msb/templates/msb-iag-deployment.yaml
kubernetes/msb/values.yaml

index db703d9..8a250fe 100644 (file)
@@ -23,7 +23,7 @@ spec:
         - name: CONSUL_IP
           value:  msb-consul.{{ .Values.nsPrefix }}-msb
         - name: SDCLIENT_IP
-          value: "{{ .Values.discoveryClusterIP}}"
+          value:  msb-discovery.{{ .Values.nsPrefix }}-msb
         - name: ROUTE_LABELS
           value: "visualRange:0"
         ports:
index 35fba56..251ca5e 100644 (file)
@@ -23,7 +23,7 @@ spec:
         - name: CONSUL_IP
           value: msb-consul.{{ .Values.nsPrefix }}-msb
         - name: SDCLIENT_IP
-          value: "{{ .Values.discoveryClusterIP}}"
+          value: msb-discovery.{{ .Values.nsPrefix }}-msb
         - name: ROUTE_LABELS
           value: "visualRange:1"
         ports:
index 8c15338..d78a336 100644 (file)
@@ -8,8 +8,6 @@ image:
 consulPort: 8500
 consulNodePort: 30500
 
-# Should remove cluster IP after domain name is supported by API gateway
-discoveryClusterIP: 10.43.6.205
 discoveryPort: 10081
 discoveryNodePort: 30081
 discoveryReplicas: 1