kubernetes/pkg/registry/core/service
Antonio Ojea e4f93d8a82 ipallocator bug if ips has leading zeros
The ipallocator for the new IPAddress object use the golang big.Int
library for some math operations, like adding an offset to an IP
address.

We use the bytes array to convert between big.Int and IP addresses,
however, IP addresses are always represented as 4 or 16 bytes arrays.
Big int bytes representations just return the byte array until the
most representative number, this requires that we need to prepend
these extra bytes for IPs with leading zeros.

Change-Id: I9d539f582cae1f9f4e373b28c5b94d7a342f09c7
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-06-25 13:14:46 +00:00
..
allocator registry/core/service: remove incorrect comments 2023-05-22 12:35:43 +02:00
ipallocator ipallocator bug if ips has leading zeros 2023-06-25 13:14:46 +00:00
portallocator add kube_apiserver_nodeport_allocator_* to improve observability of ServiceNodePortStaticSubrange 2023-01-26 14:44:16 +08:00
storage registry: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:17:45 +02:00
doc.go
OWNERS add aojea as approver for networking APIs: services/allocators, networking group, ... 2023-01-29 00:10:06 +00:00
proxy.go Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
strategy_test.go registry: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:17:45 +02:00
strategy.go Services API: warnings 2022-12-16 11:54:05 +00:00