Skip to content

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

Description

@XiaoXiaoSN

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions