From ae5b458a68fd3edfdcb7c778102b3843ce8511b5 Mon Sep 17 00:00:00 2001 From: Jan Knipper Date: Tue, 5 Nov 2024 14:12:36 +0100 Subject: [PATCH] Add noe template for 1.31 --- pkg/templates/ignition.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/templates/ignition.go b/pkg/templates/ignition.go index 3feefdea2f..7a73d51946 100644 --- a/pkg/templates/ignition.go +++ b/pkg/templates/ignition.go @@ -30,6 +30,8 @@ const TEMPLATE_VERSION = "7" func (i *ignition) getIgnitionTemplate(kluster *kubernikusv1.Kluster) (string, error) { switch { + case strings.HasPrefix(kluster.Spec.Version, "1.31"): + return Node_1_27, nil // No changes to 1.27 case strings.HasPrefix(kluster.Spec.Version, "1.30"): return Node_1_27, nil // No changes to 1.27 case strings.HasPrefix(kluster.Spec.Version, "1.29"):