Skip to content

Commit dac2f2f

Browse files
committed
Set updateStrategy to Recreate for K0sControlPlane
1 parent bd44dd4 commit dac2f2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/aws-standalone-cp/templates/k0scontrolplane.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
annotations:
77
{{- include "aws-standalone.keepPolicy" . | nindent 4 }}
88
spec:
9+
updateStrategy: {{ .Values.controlPlaneUpdateStrategy }}
910
replicas: {{ .Values.controlPlaneNumber }}
1011
version: {{ .Values.k0s.version }}
1112
k0sConfigSpec:

charts/aws-standalone-cp/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ k0s: # @schema description: K0s parameters; type: object; additionalProperties:
9797
# When true, instructs Helm to leave CAPI infrastructure resources intact during an uninstall.
9898
# This prevents race conditions and allows the CAPI controllers to cleanly tear down AWS resources.
9999
keepResources: true
100+
controlPlaneUpdateStrategy: "Recreate"
100101
# --- END CUSTOMIZATION ---

0 commit comments

Comments
 (0)