Skip to content

Commit 841c45f

Browse files
authored
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
1 parent 74c72ce commit 841c45f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chart/app-templates/crawler.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ spec:
7474
{% else %}
7575
emptyDir: {}
7676
{% endif %}
77+
- name: tmpdir
78+
emptyDir: {}
7779
{% if proxy_id %}
7880
- name: proxies
7981
secret:
@@ -189,9 +191,8 @@ spec:
189191
- name: crawl-data
190192
mountPath: /crawls
191193

192-
- name: crawl-data
194+
- name: tmpdir
193195
mountPath: /tmp
194-
subPath: tmp
195196

196197
envFrom:
197198
- configMapRef:

0 commit comments

Comments
 (0)