Skip to content
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

Add parent resource as a given #206

Merged
merged 1 commit into from Apr 17, 2022
Merged

Commits on Apr 17, 2022

  1. Add parent resource as a given

    In a real controller the parent reconciler loads the parent resource
    from the api server. When testing a sub reconciler, we can assume the
    parent resource as a given resource.
    
    Users who want to test when the parent resource is deleted from the api
    server after the reconciliation starts can use a reactor to inject a
    not found error.
    
    Signed-off-by: Scott Andrews <andrewssc@vmware.com>
    scothis committed Apr 17, 2022
    Copy the full SHA
    e44970e View commit details
    Browse the repository at this point in the history