summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates/deployment.yaml
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-08-07 14:49:10 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-08-08 15:31:26 +0200
commit533bbdb33f904216d405cf27e019792b1e187983 (patch)
treebfc5abcba11c9baca7a2ab51a736a56833b33334 /kubernetes/vid/templates/deployment.yaml
parent6261ee91de1fec034cadc5c0be87a92869c5bd14 (diff)
moving certificates from vid image to mounted catalog
Issue-ID: VID-494 Change-Id: Ie1a3a9b362618d6b1821583bc6b3c39c28eb82c0 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Diffstat (limited to 'kubernetes/vid/templates/deployment.yaml')
-rw-r--r--kubernetes/vid/templates/deployment.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml
index 8bce2cf1dc..a4e821ed78 100644
--- a/kubernetes/vid/templates/deployment.yaml
+++ b/kubernetes/vid/templates/deployment.yaml
@@ -109,6 +109,8 @@ spec:
- name: VID_MYSQL_MAXCONNECTIONS
value: "{{ .Values.config.vidmysqlmaxconnections }}"
volumeMounts:
+ - mountPath: /opt/app/vid/etc
+ name: vid-certs
- mountPath: /etc/localtime
name: localtime
readOnly: true
@@ -140,6 +142,9 @@ spec:
- mountPath: /usr/share/filebeat/data
name: vid-data-filebeat
volumes:
+ - name: vid-certs
+ secret:
+ secretName: {{ include "common.fullname" . }}-certs
- name: localtime
hostPath:
path: /etc/localtime