From a26c6f7104766628bd472bb8a95cd34d28b0447f Mon Sep 17 00:00:00 2001 From: Pal Kerecsenyi Date: Mon, 8 Jan 2024 15:57:06 +0000 Subject: [PATCH] Use strategy Recreate to avoid overwriting lockfile --- k8s/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 1b4f4f2..64eb199 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -21,9 +21,12 @@ metadata: labels: app: anki spec: + replicas: 1 selector: matchLabels: app: anki + strategy: + type: Recreate template: metadata: labels: