From c6df27cb81077eadb070f337f8a466c5b59971f0 Mon Sep 17 00:00:00 2001 From: Phillip Boushy Date: Wed, 15 Jan 2025 17:08:33 -0700 Subject: [PATCH] Fix read-only FS issue --- charts/fleet/templates/cron-vulnprocessing.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/fleet/templates/cron-vulnprocessing.yaml b/charts/fleet/templates/cron-vulnprocessing.yaml index 65fd00014310..f977e6059794 100644 --- a/charts/fleet/templates/cron-vulnprocessing.yaml +++ b/charts/fleet/templates/cron-vulnprocessing.yaml @@ -129,6 +129,8 @@ spec: runAsUser: 3333 runAsNonRoot: true volumeMounts: + - name: tmp + mountPath: /tmp {{- if .Values.database.tls.enabled }} - name: mysql-tls readOnly: true @@ -160,6 +162,8 @@ spec: {{- end }} serviceAccountName: fleet volumes: + - name: tmp + emptyDir: {{- if .Values.database.tls.enabled }} - name: mysql-tls secret: