aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2018-02-28 16:13:59 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2018-02-28 16:14:04 +0800
commitd142adbf0d24ebea092b15138552673b452e5674 (patch)
treeb0fa074532b278eb5b3048bbb43418776f547ac9 /kubernetes
parent3bb23a23e862d7a1ef4d2b0af0506532ddb7c095 (diff)
Providing HTTPS endpoint at API gateway
Issue-ID: MSB-140 Change-Id: Ideb50217fb3ba21a2824fbedee41b8df04f3e62c Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/msb/templates/all-services.yaml14
-rw-r--r--kubernetes/msb/values.yaml4
2 files changed, 15 insertions, 3 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index 487347393d..8c6db30420 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -43,8 +43,12 @@ metadata:
app: msb-iag
spec:
ports:
- - port: {{ .Values.iagPort }}
+ - name: http
+ port: {{ .Values.iagPort }}
nodePort: {{ .Values.iagNodePort }}
+ - name: https
+ port: {{ .Values.iagPort_https }}
+ nodePort: {{ .Values.iagNodePort_https }}
selector:
app: msb-iag
type: NodePort
@@ -60,9 +64,13 @@ metadata:
app: msb-eag
spec:
ports:
- - port: {{ .Values.eagPort }}
+ - name: http
+ port: {{ .Values.eagPort }}
nodePort: {{ .Values.eagNodePort }}
+ - name: https
+ port: {{ .Values.eagPort_https }}
+ nodePort: {{ .Values.eagNodePort_https }}
selector:
app: msb-eag
type: NodePort
-#{{ end }} \ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/msb/values.yaml b/kubernetes/msb/values.yaml
index bdb6c40875..ec9585a949 100644
--- a/kubernetes/msb/values.yaml
+++ b/kubernetes/msb/values.yaml
@@ -14,9 +14,13 @@ discoveryNodePort: 30081
discoveryReplicas: 1
iagPort: 80
+iagPort_https: 443
iagNodePort: 30080
+iagNodePort_https: 30443
iagReplicas: 1
eagPort: 80
+eagPort_https: 443
eagNodePort: 30082
+eagNodePort_https: 30446
eagReplicas: 1