From 67a58b7e40559fc470df7b396ee851f1caf93a9a Mon Sep 17 00:00:00 2001 From: SirYur <12106023+siryur@users.noreply.github.com> Date: Wed, 18 Mar 2026 15:46:34 +0100 Subject: [PATCH] Allow chart deployment strategy --- chart/templates/deployment.yaml | 4 ++++ chart/values.yaml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 71404c196..f3be3c54a 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -5,6 +5,10 @@ metadata: name: {{ include "hcloud-cloud-controller-manager.name" . }} namespace: {{ .Release.Namespace }} spec: + {{- with .Values.strategy }} + strategy: + {{- toYaml . | nindent 4 }} + {{- end }} replicas: {{ .Values.replicaCount }} revisionHistoryLimit: 2 selector: diff --git a/chart/values.yaml b/chart/values.yaml index 0893d29dd..74e829e2e 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -124,6 +124,12 @@ selectorLabels: app.kubernetes.io/name: '{{ include "hcloud-cloud-controller-manager.name" $ }}' app.kubernetes.io/instance: "{{ $.Release.Name }}" +# strategy: +# type: RollingUpdate +# rollingUpdate: +# maxSurge: 1 +# maxUnavailable: 1 + additionalTolerations: [] # nodeSelector: