Skip to content

Commit

Permalink
Fix service mask length
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan committed Feb 12, 2025
1 parent 83ad03c commit 873b58f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/infrastructure/actuator_reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ func (a *actuator) applyPrefixes(ctx context.Context, ironcoreClient client.Clie

prefixes = append(prefixes, *prefixIPV6)

maxPrefixLength := 128
servicePrefixLength := int32((maxPrefixLength-nodesIPV6Prefix.Bits())/2 + nodesIPV6Prefix.Bits())
servicePrefixLength := int32(112)
servicePrefix = &ipamv1alpha1.Prefix{
TypeMeta: metav1.TypeMeta{
Kind: "Prefix",
Expand Down

0 comments on commit 873b58f

Please sign in to comment.