Skip to content

Commit

Permalink
Add ignition template for k8s 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
jknipper committed Jun 13, 2024
1 parent eeee848 commit ca449a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/templates/ignition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit ca449a3

Please sign in to comment.