From bdba97b62902ac1592a5a863ce93f7ef560e5d5e Mon Sep 17 00:00:00 2001 From: Mariusz Sabath Date: Tue, 18 Apr 2023 22:19:09 -0400 Subject: [PATCH] Add empty directory to Tornjak to support npm cache (#224) Resolves issue #223 Signed-off-by: Mariusz Sabath --- .../spire/charts/tornjak-frontend/templates/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/spire/charts/tornjak-frontend/templates/deployment.yaml b/charts/spire/charts/tornjak-frontend/templates/deployment.yaml index e383594..eb2fe4d 100644 --- a/charts/spire/charts/tornjak-frontend/templates/deployment.yaml +++ b/charts/spire/charts/tornjak-frontend/templates/deployment.yaml @@ -44,3 +44,9 @@ spec: periodSeconds: 30 successThreshold: 1 timeoutSeconds: 10 + volumeMounts: + - name: cache + mountPath: /usr/src/app/node_modules/.cache + volumes: + - name: cache + emptyDir: {}