From ca449a3d6c41d00aebc54d093f9b2ae54d5e4976 Mon Sep 17 00:00:00 2001
From: Jan Knipper <jan.knipper@sap.com>
Date: Thu, 13 Jun 2024 16:39:04 +0200
Subject: [PATCH] Add ignition template for k8s 1.30

---
 pkg/templates/ignition.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/templates/ignition.go b/pkg/templates/ignition.go
index 94594eed9e..2a35112443 100644
--- a/pkg/templates/ignition.go
+++ b/pkg/templates/ignition.go
@@ -31,6 +31,8 @@ const TEMPLATE_VERSION = "6"
 
 func (i *ignition) getIgnitionTemplate(kluster *kubernikusv1.Kluster) (string, error) {
 	switch {
+	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"):
 		return Node_1_27, nil // No changes to 1.27
 	case strings.HasPrefix(kluster.Spec.Version, "1.28"):