volumes: use emptyDir for tmp dir volume (#2713)

- don't use a persistent volume for /tmp, instead use a temporary
emptyDir
- use volume to avoid permission issues with default /tmp dir
- follow-up to #2623
This commit is contained in:
Ilya Kreymer 2025-07-08 13:10:02 -07:00 committed by GitHub
parent 74c72ce551
commit 841c45fe59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,8 @@ spec:
{% else %} {% else %}
emptyDir: {} emptyDir: {}
{% endif %} {% endif %}
- name: tmpdir
emptyDir: {}
{% if proxy_id %} {% if proxy_id %}
- name: proxies - name: proxies
secret: secret:
@ -189,9 +191,8 @@ spec:
- name: crawl-data - name: crawl-data
mountPath: /crawls mountPath: /crawls
- name: crawl-data - name: tmpdir
mountPath: /tmp mountPath: /tmp
subPath: tmp
envFrom: envFrom:
- configMapRef: - configMapRef: