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:
parent
74c72ce551
commit
841c45fe59
@ -74,6 +74,8 @@ spec:
|
||||
{% else %}
|
||||
emptyDir: {}
|
||||
{% endif %}
|
||||
- name: tmpdir
|
||||
emptyDir: {}
|
||||
{% if proxy_id %}
|
||||
- name: proxies
|
||||
secret:
|
||||
@ -189,9 +191,8 @@ spec:
|
||||
- name: crawl-data
|
||||
mountPath: /crawls
|
||||
|
||||
- name: crawl-data
|
||||
- name: tmpdir
|
||||
mountPath: /tmp
|
||||
subPath: tmp
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
|
Loading…
Reference in New Issue
Block a user