From 73775fc76d90d57c0b8f5649891bbc0d03e04165 Mon Sep 17 00:00:00 2001 From: Antoine Piron Date: Fri, 4 Sep 2026 14:03:42 +0200 Subject: [PATCH] Add optional strategy field to postiz Deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows overriding the default RollingUpdate via values.strategy — needed for deployments pinned to a single node by a local-path PVC, where RollingUpdate can't schedule the surge pod and gets stuck Pending. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_0118dTCRPv2onBXbZ3Nb7E2X --- charts/postiz/templates/postiz-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/postiz/templates/postiz-deployment.yaml b/charts/postiz/templates/postiz-deployment.yaml index fa1a6a1..e03a892 100644 --- a/charts/postiz/templates/postiz-deployment.yaml +++ b/charts/postiz/templates/postiz-deployment.yaml @@ -8,6 +8,10 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + {{- with .Values.strategy }} + strategy: + {{- toYaml . | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "postiz.selectorLabels" . | nindent 6 }}