From a62826d5dd45787f2b59a227629feb36a4c29467 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Sun, 26 Jun 2022 11:19:09 +0200 Subject: [PATCH] cache --- charts/ycast/1.1.0/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/ycast/1.1.0/templates/deployment.yaml b/charts/ycast/1.1.0/templates/deployment.yaml index dcb5566..a33d8c4 100644 --- a/charts/ycast/1.1.0/templates/deployment.yaml +++ b/charts/ycast/1.1.0/templates/deployment.yaml @@ -52,10 +52,14 @@ spec: - name: stations mountPath: "/config" readOnly: true + - mountPath: "/home/dockerapp/.cache" + name: cache-volume volumes: - name: stations configMap: name: {{ include "ycast.fullname" . }} + - name: cache-volume + emptyDir: {} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}