summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-16 15:06:33 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-24 06:27:09 +0000
commit437278bc029d55bbcf2e52feb217db652912922e (patch)
treee3aa9fe72b76493c97ee267f6c8ad2f3e63a2917 /kubernetes/vid/templates
parent48e2ca740dcc1fe91b93b54343f5d19f7d7e559a (diff)
[VID] Create an empty dir for cache
VID needs a cache folder. Currently, this caching feature doesn't work as cache folder can't be accessed. This patch allows the cache to be accessed. Issue-ID: VID-960 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iea442f115e01919e82b14674249695d21c3197fe
Diffstat (limited to 'kubernetes/vid/templates')
-rw-r--r--kubernetes/vid/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml
index d1b4bcdbf2..478b44232b 100644
--- a/kubernetes/vid/templates/deployment.yaml
+++ b/kubernetes/vid/templates/deployment.yaml
@@ -141,6 +141,8 @@ spec:
- mountPath: /tmp/logback.xml
name: vid-logback
subPath: logback.xml
+ - mountPath: /opt/app/vid
+ name: vid-cache
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -170,6 +172,8 @@ spec:
- name: filebeat-conf
configMap:
name: {{ include "common.fullname" . }}-filebeat-configmap
+ - name: vid-cache
+ emptyDir: {}
- name: vid-logs
emptyDir: {}
- name: vid-data-filebeat