-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Use log from context #2181
✨ Use log from context #2181
Conversation
Welcome @mrkm4ntr! |
Hi @mrkm4ntr. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Seems reasonable, thanks @mrkm4ntr! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: estroz, mrkm4ntr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* update to latest kubebuilder scaffolding bump dependencies fix tests by creating valid service account token bump golang to 1.17.3 fix issue with zap-devel flag * bump controller-runtime to v0.10.2 * Use log from context kubernetes-sigs/kubebuilder#2181 * Tag boilerplate Makefile targets as .PHONY * Add default-container annotation * Add flag for ignore-not-found to make undeploy * fix(scaffolds): better defaults * Defer GinkgoRecover() in test goroutines * ignore non-go files during Docker build * bump golang to 1.17.5 * Apply suggestions from code review Co-authored-by: Lukas Gross <35373687+grolu@users.noreply.github.com> Co-authored-by: Lukas Gross <35373687+grolu@users.noreply.github.com>
Use log provided by controller-runtime in reconciliation loop.
Enough information is filled by following.
https://github.com/kubernetes-sigs/controller-runtime/blob/b704f447ea7c8f7059c6665143a4aa1f6da28328/pkg/builder/controller.go#L311
https://github.com/kubernetes-sigs/controller-runtime/blob/ce2f0c92d77e05609fab003663f2b5bb9c1990d7/pkg/internal/controller/controller.go#L99