-
Notifications
You must be signed in to change notification settings - Fork 462
pkg/operator: use fake clients in unit #452
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
pkg/operator: use fake clients in unit #452
Conversation
Signed-off-by: Antonio Murdaca <[email protected]>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws |
|
/retest |
|
aws limit /retest |
|
Bootstrap user flake /retest |
|
AWS is unhappy. |
|
/retest |
|
unit tests fixed in #457 /retest |
Signed-off-by: Antonio Murdaca [email protected]
- What I did
I added a wrapper around the ClusterOperators client mainly for unit tests in #442 which turns out to be totally unnecessary since I've learned about fake clients in kube land. This PR removes that wrapper and turns the code back to its state and just use plain fake clients in unit tests which will reduce code and not needed abstractions.
- How to verify it
- Description for the changelog