Upgrading sigs.k8s.io/controller-runtime 0.23 to 0.24
Breakingv0.23.3 → v0.24.1Breaking2Deprecated1Changed87Fixed9Other12
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Removes the deprecated custom path function from Builder/Webhooks.
- The library now requires the Kubernetes 1.36 libraries, which may break code built against older versions.
- Deprecates the scheme builder.
Must act 3 items need code or config changes
What you must change
Breaking2
Removes the deprecated custom path function from Builder/Webhooks.
Updates k8s.io/* dependencies to v1.36.
Deprecations to plan for
Deprecated1
Deprecates the scheme builder.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- removed:
method WebhookBuilder.WithCustomPath(string) *WebhookBuilder[T]
- added:
method Informer.HasSyncedChecker() toolscache.DoneChecker
- removed:
field FakeInformer.Synced: bool - removed:
field FakeInformer.SyncedLock: sync.Mutex - added:
field InformerOptions.Synced: bool - added:
func NewFakeInformer(...InformerOption) *FakeInformer - added:
method FakeInformer.Done() <-chan struct - added:
method FakeInformer.HasSyncedChecker() cache.DoneChecker - added:
method FakeInformer.Name() string - added:
method FakeInformer.Synced() - added:
method InformerOption.Apply(*InformerOptions) - added:
type InformerOption: interface - added:
type InformerOptions: struct - added:
var Synced