summaryrefslogtreecommitdiffstats
path: root/kubernetes/mso
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/mso')
-rw-r--r--kubernetes/mso/templates/mso-deployment.yaml10
-rw-r--r--kubernetes/mso/templates/mso-pv-pvc.yaml6
2 files changed, 13 insertions, 3 deletions
diff --git a/kubernetes/mso/templates/mso-deployment.yaml b/kubernetes/mso/templates/mso-deployment.yaml
index 0f3034f4cc..9414990201 100644
--- a/kubernetes/mso/templates/mso-deployment.yaml
+++ b/kubernetes/mso/templates/mso-deployment.yaml
@@ -49,6 +49,10 @@ spec:
volumeMounts:
- mountPath: /shared
name: mso
+ - mountPath: /shared/aai.crt
+ name: mso-aai-crt
+ - mountPath: /shared/encryption.key
+ name: mso-key
- mountPath: /docker-files
name: mso-docker-files
env:
@@ -72,5 +76,11 @@ spec:
- name: mso-docker-files
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files
+ - name: mso-aai-crt
+ secret:
+ secretName: secret-{{ .Values.nsPrefix }}-mso
+ - name: mso-key
+ secret:
+ secretName: secret-{{ .Values.nsPrefix }}-mso
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
diff --git a/kubernetes/mso/templates/mso-pv-pvc.yaml b/kubernetes/mso/templates/mso-pv-pvc.yaml
index c195980841..47389e3ff0 100644
--- a/kubernetes/mso/templates/mso-pv-pvc.yaml
+++ b/kubernetes/mso/templates/mso-pv-pvc.yaml
@@ -1,10 +1,10 @@
apiVersion: v1
kind: PersistentVolume
metadata:
- name: mso-db
+ name: "{{ .Values.nsPrefix }}-mso-db"
namespace: "{{ .Values.nsPrefix }}-mso"
labels:
- name: mso-db
+ name: "{{ .Values.nsPrefix }}-mso-db"
spec:
capacity:
storage: 2Gi
@@ -27,4 +27,4 @@ spec:
storage: 2Gi
selector:
matchLabels:
- name: mso-db
+ name: "{{ .Values.nsPrefix }}-mso-db"