Skip to content

Commit 80c5ebf

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

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/aws-standalone-cp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 1.5.0
9+
version: 1.5.1
1010
# This is the version number of the application being deployed. This version number should be
1111
# incremented each time you make changes to the application. Versions are not expected to
1212
# follow Semantic Versioning. They should reflect the version the application is using.

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)