mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-25 08:08:38 -04:00
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 |
||
|---|---|---|
| .. | ||
| allocator | ||
| ipallocator | ||
| portallocator | ||
| storage | ||
| doc.go | ||
| proxy.go | ||
| strategy.go | ||
| strategy_test.go | ||