aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-10-31 10:39:38 +0000
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-10-31 10:39:44 +0000
commitf51e10c0b89854aba1a25e0227366cfbee398c4c (patch)
tree7d718837fd768e01f759b4a3751f799a9daaa746 /kubernetes
parentd917c00ac5187477275ddca9bd64bff7dd7ddfae (diff)
Remove hardcoded IP value
Issue-Id: OOM-355 Change-Id: Iafc3ec55cd6b954fb9ba818376948ebc7c4c4711 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/msb/templates/msb-eag-deployment.yaml2
-rw-r--r--kubernetes/msb/templates/msb-iag-deployment.yaml2
-rw-r--r--kubernetes/msb/values.yaml2
3 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/msb/templates/msb-eag-deployment.yaml b/kubernetes/msb/templates/msb-eag-deployment.yaml
index db703d9188..8a250fee1a 100644
--- a/kubernetes/msb/templates/msb-eag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-eag-deployment.yaml
@@ -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:
diff --git a/kubernetes/msb/templates/msb-iag-deployment.yaml b/kubernetes/msb/templates/msb-iag-deployment.yaml
index 35fba560c0..251ca5e137 100644
--- a/kubernetes/msb/templates/msb-iag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-iag-deployment.yaml
@@ -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:
diff --git a/kubernetes/msb/values.yaml b/kubernetes/msb/values.yaml
index 8c1533887e..d78a3369f6 100644
--- a/kubernetes/msb/values.yaml
+++ b/kubernetes/msb/values.yaml
@@ -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