fix: don't restore if sqlite db is already there
This commit is contained in:
parent
6c7d14a7c9
commit
843875f87c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue