Closed joelsmith closed 3 years ago
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: joelsmith, wangchen615
The full list of commands accepted by this bot can be found here.
The pull request process is described here
This fixes the problem where
r.client.Get()
fails because the manager hasn't started (via it'sStart()
method). Since the reconciler interface doesn't have any initialization hook called after start, this patch uses a background goroutine to wait for the manager to start before attempting to check whether a CR exists.This resolves the crash loop backoff with error:
This error showed up after the rebase PR #65 when we pulled in an updated controller runtime.