From 841c45fe59c1cc48ee53e538cd0d16f2b0be6bf8 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Tue, 8 Jul 2025 13:10:02 -0700 Subject: [PATCH] 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 --- chart/app-templates/crawler.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chart/app-templates/crawler.yaml b/chart/app-templates/crawler.yaml index 10a2a223..5ff7b5ae 100644 --- a/chart/app-templates/crawler.yaml +++ b/chart/app-templates/crawler.yaml @@ -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: