Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Baget with the default value will loss SQLite database #36

Open
XiaoXiaoSN opened this issue Jan 25, 2024 · 0 comments
Open

Run Baget with the default value will loss SQLite database #36

XiaoXiaoSN opened this issue Jan 25, 2024 · 0 comments

Comments

@XiaoXiaoSN
Copy link

The workdir of default image loicsharma/baget:0b46f0ec87216e1dc6839277712ee07c1c2b611a is in /app, so SQLite database will be saved in /app/baget.db

            {{- if eq .Values.database.type "Sqlite" .}}
            - name: Database__ConnectionString
              value: "Data Source=baget.db"
            {{- end }}

But the persistent mount is in /app/packages. it causes SQLite database missing after restarting the pod

          volumeMounts:
            - name: {{ template "baget.fullname" . }}-data
              mountPath: /app/packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant