kubernetes/pkg/registry/core/service
Tim Hockin e927ce85b6 service REST: Call Decorator(old) on update path
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.

Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)

In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).

Test by aojea
2022-01-30 11:25:17 -08:00
..
allocator Speed up counting of bits in allocator 2021-10-01 17:09:56 +02:00
ipallocator move IPv6DualStack feature to stable. (#104691) 2021-09-24 16:30:22 -07:00
portallocator Introduce storagebackend.ConfigForResource 2021-09-01 16:54:26 -04:00
storage service REST: Call Decorator(old) on update path 2022-01-30 11:25:17 -08:00
doc.go
proxy.go Fix scope.Kind of CONNECT subresources. 2018-08-06 18:59:52 -07:00
strategy_test.go move IPv6DualStack feature to stable. (#104691) 2021-09-24 16:30:22 -07:00
strategy.go Mark ServiceLBNodePortControl as GA 2021-12-16 16:48:58 +01:00