[VID] Create an empty dir for cache
[oom.git] / kubernetes / vid / templates / deployment.yaml
index d1b4bcd..478b442 100644 (file)
@@ -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