kubernetes/pkg/registry/core
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
..
componentstatus Make etcd component status consistent with health probes 2023-06-13 10:10:29 +02:00
configmap Partition watchers by namespace/name scope 2023-02-27 20:38:11 +00:00
endpoint Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
event Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
limitrange Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
namespace Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
node Replace uses of ObjectReflectDiff with cmp.Diff 2023-04-12 08:48:03 -07:00
persistentvolume Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
persistentvolumeclaim Replace uses of ObjectReflectDiff with cmp.Diff 2023-04-12 08:48:03 -07:00
pod Retool validation for pod HostNetwork ports 2023-05-09 18:10:44 -07:00
podtemplate Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
rangeallocation hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
replicationcontroller Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
resourcequota Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
rest Make etcd component status consistent with health probes 2023-06-13 10:10:29 +02:00
secret Partition watchers by namespace/name scope 2023-02-27 20:38:11 +00:00
service ipallocator bug if ips has leading zeros 2023-06-25 13:14:46 +00:00
serviceaccount Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00