-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow configuring a cache sync timeout #1219
Comments
/help |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
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. |
Hi @alvaroaleman , I would like to work on this issue. Would the implementation be to:
Is this the right approach for the implementation? |
@varshaprasad96 yes, that sounds exactly right |
/assign |
Currently when a cache can not be synced (for example due to misconfigured rbac) the
Controller
will just block indefinitely/until the binary gets stopped:controller-runtime/pkg/internal/controller/controller.go
Line 172 in 5c2b42d
As an author of controllers I want to configure a timeout for this and want my
Controller
to error out if its unable to sync its caches within this timeout.The text was updated successfully, but these errors were encountered: