Skip to content

Add context to reconciler event handlers #8054

@killianmuldoon

Description

@killianmuldoon

With the release of the next version of controller runtime event handlers will be able to take a real context - kubernetes-sigs/controller-runtime#2139.

Currently our reconciler event handlers - e.g. mapping functions for Watches - are using context.TODO(). With the next release of Controller Runtime we can (and should) replace them with real context objects.

/kind cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions