From 562523c6103cb80c072ca31f798b1198f7e511dc Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Thu, 24 Aug 2023 14:30:42 +0200 Subject: [PATCH] Fix upgrade --- cmd/internal/database/meilisearch/meilisearch.go | 2 +- deploy/meilisearch.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/internal/database/meilisearch/meilisearch.go b/cmd/internal/database/meilisearch/meilisearch.go index 0ceb788..20ba1b9 100644 --- a/cmd/internal/database/meilisearch/meilisearch.go +++ b/cmd/internal/database/meilisearch/meilisearch.go @@ -162,7 +162,7 @@ func (db *Meilisearch) Upgrade() error { db.log.Infow("start upgrade", "from", dbVersion, "to", meilisearchVersion) // meilisearch --import-dump /dumps/20200813-042312213.dump - cmd := exec.Command(meilisearchCmd, "--import-dump", "--ignore-dump-if-db-exists", path.Join(db.dumpdir, latestStableDump)) // nolint:gosec + cmd := exec.Command(meilisearchCmd, "--ignore-dump-if-db-exists", "--import-dump", path.Join(db.dumpdir, latestStableDump)) // nolint:gosec cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr err = cmd.Run() diff --git a/deploy/meilisearch.yaml b/deploy/meilisearch.yaml index 30062c9..6fd4444 100644 --- a/deploy/meilisearch.yaml +++ b/deploy/meilisearch.yaml @@ -22,7 +22,7 @@ spec: name: auditing-meili-meilisearch-environment - secretRef: name: metal-auditing-master-key - image: getmeili/meilisearch:v1.2.0 + image: getmeili/meilisearch:v1.3.1 imagePullPolicy: IfNotPresent name: meilisearch command: @@ -89,7 +89,7 @@ spec: - name: bin-provision subPath: tini mountPath: /usr/local/bin/tini - - image: getmeili/meilisearch:v1.2.0 + - image: getmeili/meilisearch:v1.3.1 name: backup-restore-sidecar command: - tini