From cffb97ff760e867c2f6ce168f05f1fed73ed120b Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Thu, 30 Apr 2026 00:42:55 +0200 Subject: [PATCH] fix: use Recreate strategy so SQLite + RWO PVC redeploy fits tenant CPU quota --- deploy/templates/deployment.yaml | 2 ++ deploy/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/deploy/templates/deployment.yaml b/deploy/templates/deployment.yaml index 5fc412f..423d4ba 100644 --- a/deploy/templates/deployment.yaml +++ b/deploy/templates/deployment.yaml @@ -7,6 +7,8 @@ metadata: {{- include "tutortool.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + strategy: + type: {{ .Values.strategy.type | default "Recreate" }} selector: matchLabels: {{- include "tutortool.selectorLabels" . | nindent 6 }} diff --git a/deploy/values.yaml b/deploy/values.yaml index 880336d..83fcffe 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -1,5 +1,8 @@ replicaCount: 1 +strategy: + type: Recreate + image: repository: registry.itsh.dev/s0wlz/tutortool pullPolicy: IfNotPresent