Skip to content

Commit

Permalink
Add emptyDir volume for /tmp in Import worker (#556)
Browse files Browse the repository at this point in the history
* Add emptyDir volume for /tmp in Import worker

* Add new subpath for snowsql

* New attempt

* Apply changes to the right component

* Revert change
  • Loading branch information
moicalcob authored Jun 11, 2024
1 parent c02d03d commit f34b22e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chart/templates/import-worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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" . }}
Expand Down

0 comments on commit f34b22e

Please sign in to comment.