From f34b22e03980ffc409ec0162bcbbc91e116d5942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Calzado?= <56086628+moicalcob@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:38:37 +0200 Subject: [PATCH] Add emptyDir volume for /tmp in Import worker (#556) * Add emptyDir volume for /tmp in Import worker * Add new subpath for snowsql * New attempt * Apply changes to the right component * Revert change --- chart/templates/import-worker/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chart/templates/import-worker/deployment.yaml b/chart/templates/import-worker/deployment.yaml index a991e666..fefe9b2b 100644 --- a/chart/templates/import-worker/deployment.yaml +++ b/chart/templates/import-worker/deployment.yaml @@ -167,6 +167,11 @@ spec: lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.importWorker.lifecycleHooks "context" $) | nindent 12 }} {{- end }} volumeMounts: + - name: tmp + mountPath: /tmp + - name: tmp + mountPath: /home/node/.snowsql + subPath: .snowsql - name: gcp-default-service-account-key mountPath: {{ include "carto.google.secretMountDir" . }} readOnly: true @@ -192,6 +197,8 @@ spec: {{- include "common.tplvalues.render" ( dict "value" .Values.importWorker.sidecars "context" $) | nindent 8 }} {{- end }} volumes: + - name: tmp + emptyDir: {} - name: gcp-default-service-account-key secret: secretName: {{ include "carto.google.secretName" . }}