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 Dec 5, 2024
1 parent 4f0fa04 commit 82f4fc3
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 @@ -130,8 +130,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 82f4fc3

Please sign in to comment.