-
Notifications
You must be signed in to change notification settings - Fork 140
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
Refactor secret generator controller #1311
Refactor secret generator controller #1311
Conversation
So, you combined 2 changes in the patch: 1) combined The second one is the case Bartosz likes to struggle :) But it is also solvable introducing |
Yep, I made this as a draft as I'm still improving it a bit after finding I didn't like it much |
aa1fda1
to
0cb1dba
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## incubation #1311 +/- ##
=============================================
Coverage ? 18.72%
=============================================
Files ? 30
Lines ? 3364
Branches ? 0
=============================================
Hits ? 630
Misses ? 2668
Partials ? 66 ☔ View full report in Codecov by Sentry. |
0cb1dba
to
114ba20
Compare
2ac9a59
to
45a5ee6
Compare
small comments (cannot do in code....)
|
The commit is meant to: - make the code easier to understand, reducing complexity caused by nested if/else and error conditions (align happy path to the left) - remove shadowed error vars to avoid reporting misleading errors - add some basic unit test for the reconcile loop
45a5ee6
to
041c4b7
Compare
|
looks good to me, will leave to @zdtsw due to the conversation. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zdtsw 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 |
a0860f4
into
opendatahub-io:incubation
Description
The PR is meant to:
How Has This Been Tested?
Screenshot or short clip
Merge criteria
Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).The developer has manually tested the changes and verified that the changes work