feat: add deployment strategy type as Recreate in multiple deployment files

This commit is contained in:
Lorenzo Venerandi
2026-02-22 17:33:57 +01:00
parent 9d1eb51129
commit 486d02fbd4
3 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ spec:
{{- if not .Values.autoscaling.enabled }} {{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
{{- end }} {{- end }}
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
{{- include "krawl.selectorLabels" . | nindent 6 }} {{- include "krawl.selectorLabels" . | nindent 6 }}

View File

@@ -154,6 +154,8 @@ metadata:
app.kubernetes.io/version: "1.0.0" app.kubernetes.io/version: "1.0.0"
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: krawl app.kubernetes.io/name: krawl

View File

@@ -10,6 +10,8 @@ metadata:
app.kubernetes.io/version: "1.0.0" app.kubernetes.io/version: "1.0.0"
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: krawl app.kubernetes.io/name: krawl