summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/charts/msb-iag/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-05-26 06:30:21 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-26 06:30:21 +0000
commita9781dc2e8651467fd832ff43ec9b6a12bc0133d (patch)
treefe1b83f8ad24829bd0b6a54a44aa3ffcd3495c25 /kubernetes/msb/charts/msb-iag/templates/deployment.yaml
parentf99a8b53adbbc798604e08a59a6612dad093c76c (diff)
parent9755aadf7f86d65db50c3193b984c8f76536c54f (diff)
Merge changes I3f2ffef2,I1dabc312
* changes: [so][msb] Update MSB url to match with its certificate Set certificate SAN as msb-iag
Diffstat (limited to 'kubernetes/msb/charts/msb-iag/templates/deployment.yaml')
-rw-r--r--kubernetes/msb/charts/msb-iag/templates/deployment.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/msb/charts/msb-iag/templates/deployment.yaml b/kubernetes/msb/charts/msb-iag/templates/deployment.yaml
index 8975a32c7f..f95f1059a6 100644
--- a/kubernetes/msb/charts/msb-iag/templates/deployment.yaml
+++ b/kubernetes/msb/charts/msb-iag/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