From 0dee47925d819a0b6f1cafcceaf5a4457ef95720 Mon Sep 17 00:00:00 2001 From: Georgiana Dolocan Date: Wed, 4 Sep 2024 16:24:33 +0300 Subject: [PATCH] Try mounting the db volume at anbother lcoation --- helm-chart/templates/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/deployment.yaml b/helm-chart/templates/deployment.yaml index 5429b99..7e76693 100644 --- a/helm-chart/templates/deployment.yaml +++ b/helm-chart/templates/deployment.yaml @@ -30,7 +30,8 @@ spec: runAsUser: 0 volumeMounts: - name: db - mountPath: /mnt + mountPath: /opt/unnamed-thingity-thing/comptest/db.sqlite3 + subPath: db.sqlite3 readOnly: false containers: - name: run-app @@ -50,7 +51,8 @@ spec: runAsUser: 0 volumeMounts: - name: db - mountPath: /mnt + mountPath: /opt/unnamed-thingity-thing/comptest/db.sqlite3 + subPath: db.sqlite3 readOnly: false {{- if .Values.yamlSettings.enabled }} - name: django-yamlconf