Add optional strategy field to postiz Deployment
Helm Chart CI/CD / lint-test (push) Canceled after 0s
Helm Chart CI/CD / publish (push) Canceled after 0s

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118dTCRPv2onBXbZ3Nb7E2X
This commit is contained in:
billisdeadandClaude Sonnet 5 committed 2026-09-04 14:03:42 +02:00
1 parent a96348b9b6
commit 73775fc76d
1 file changed
+4
@@ -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 }}