Skip to content

Commit

Permalink
Allow empty networking.nodes in case of IPv6 only shoots. (gardener…
Browse files Browse the repository at this point in the history
  • Loading branch information
axel7born authored Sep 16, 2024
1 parent d326380 commit c3e8770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gardenlet/operation/shoot/shoot.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ func ToNetworks(shoot *gardencorev1beta1.Shoot, workerless bool) (*Networks, err
return nil, fmt.Errorf("cannot parse shoot's node cidr %w", err)
}
nodes = append(nodes, *n)
} else if !workerless {
} else if !workerless && !gardencorev1beta1.IsIPv6SingleStack(shoot.Spec.Networking.IPFamilies) {
return nil, fmt.Errorf("shoot's node cidr is empty")
}

Expand Down

0 comments on commit c3e8770

Please sign in to comment.