The function klogr,New has been deprecated. Instead of migrating to the suggested replacement, I propose to use ktesting.NewTestContext in tests instead - which is already in use in this project.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/cert-manager/trust-manager/blob/main/OWNERS)~~ [inteon]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
The function klogr,New has been deprecated. Instead of migrating to the suggested replacement, I propose to use ktesting.NewTestContext in tests instead - which is already in use in this project.
For trust-manager (main) I would suggest migrating to the relatively new GO stdlib log (slog) - with a target to address https://github.com/cert-manager/trust-manager/issues/282. I will try to do this in a follow up PR.