We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update the GitOps Toolkit packages and the Flux controllers to Kubernetes 1.27, controller-runtime v0.15 and controller-gen v0.12.
Adapt the controller code to the breaking changes introduced in controller-runtime v0.15:
Watches
client.Object
source.Kind
handler.MapFunc
ctrlcache.Options.SelectorByObject
ctrlcache.Options.ByObject
ctrl.Options.Namespace
ctrlcache.Options.Namespaces
ctrl.Options.ClientDisableCacheFor
ctrlclient.CacheOptions.DisableFor
ctrl.Options.Port
WithStatusSubresource
TODOs:
The text was updated successfully, but these errors were encountered:
stefanprodan
hiddeco
aryan9600
No branches or pull requests
Update the GitOps Toolkit packages and the Flux controllers to Kubernetes 1.27, controller-runtime v0.15 and controller-gen v0.12.
Adapt the controller code to the breaking changes introduced in controller-runtime v0.15:
Watches
require a plainclient.Object
instead of asource.Kind
object.handler.MapFunc
requires a Go context.ctrlcache.Options.SelectorByObject
was renamed toctrlcache.Options.ByObject
.ctrl.Options.Namespace
was moved toctrlcache.Options.Namespaces
.ctrl.Options.ClientDisableCacheFor
was moved toctrlclient.CacheOptions.DisableFor
.ctrl.Options.Port
has been deprecated and removed.WithStatusSubresource
to enable the correct behavior for status updates and patches.TODOs:
The text was updated successfully, but these errors were encountered: