fix: don't restore if sqlite db is already there

This commit is contained in:
Jack Halford 2024-04-09 14:27:46 +02:00
parent 6c7d14a7c9
commit 843875f87c
No known key found for this signature in database
GPG key ID: A427D956E8E67679

View file

@ -49,7 +49,7 @@ spec:
initContainers:
- name: init-litestream
image: litestream/litestream:latest
args: ['restore', '/etc/linkding/data/db.sqlite3']
args: ['restore', '-if-db-not-exists', '/etc/linkding/data/db.sqlite3']
envFrom:
- secretRef:
name: litestream-s3