summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/msb-eag
diff options
context:
space:
mode:
authorHuabing Zhao <zhao.huabing@zte.com.cn>2020-05-14 09:17:52 +0800
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-22 10:43:35 +0000
commit88cf4965828fa7f17e413a4465844e200d1358df (patch)
tree0c2e23de4abe4e3ef4ec1f78865d631c501bb525 /kubernetes/msb/charts/msb-eag
parent810b0a1880a9ba897f0698ef5f7f69b2df33d893 (diff)
Set certificate SAN as msb-iag
Also add helm certificate to be used within deployments. Issue-ID: MSB-467 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I1dabc31275edebd4a01be658e462a7d45497ce46
Diffstat (limited to 'kubernetes/msb/charts/msb-eag')
-rw-r--r--kubernetes/msb/charts/msb-eag/templates/deployment.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/msb/charts/msb-eag/templates/deployment.yaml b/kubernetes/msb/charts/msb-eag/templates/deployment.yaml
index fd16a0ce6b..95f0e34599 100644
--- a/kubernetes/msb/charts/msb-eag/templates/deployment.yaml
+++ b/kubernetes/msb/charts/msb-eag/templates/deployment.yaml
@@ -81,6 +81,14 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
+ - name: {{ include "common.fullname" . }}-cert
+ mountPath: /usr/local/openresty/nginx/ssl/cert/cert.crt
+ readOnly: true
+ subPath: "cert.crt"
+ - name: {{ include "common.fullname" . }}-cert
+ mountPath: /usr/local/openresty/nginx/html/cert/ca.crt
+ readOnly: true
+ subPath: "ca.crt"
- mountPath: /usr/local/apiroute-works/logs
name: {{ include "common.fullname" . }}-logs
resources:
@@ -109,6 +117,9 @@ spec:
name: {{ include "common.fullname" . }}-log-conf
subPath: logback.xml
volumes:
+ - name: {{ include "common.fullname" . }}-cert
+ secret:
+ secretName: {{ include "common.release" . }}-msb-https-cert
- name: {{ include "common.fullname" . }}-log-conf
configMap:
name: {{ include "common.fullname" . }}-log