-
Notifications
You must be signed in to change notification settings - Fork 25
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
chore: upgraded to controller-runtime 0.17.2 and ginkgo v2 #319
Conversation
Signed-off-by: Chun-Che Peng <[email protected]>
6b851df
to
6454a44
Compare
Signed-off-by: Chun-Che Peng <[email protected]>
f22d30f
to
7c68b0f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #319 +/- ##
==========================================
+ Coverage 55.81% 57.10% +1.28%
==========================================
Files 14 14
Lines 1933 1485 -448
==========================================
- Hits 1079 848 -231
+ Misses 734 517 -217
Partials 120 120 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Chun-Che Peng <[email protected]>
@@ -52,18 +52,6 @@ const ( | |||
controllerName = "addon-manager-controller" | |||
) | |||
|
|||
// Watched resources | |||
var ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resources
was unused
RunSpecsWithDefaultAndCustomReporters(t, | ||
"v1alpha1 Suite", | ||
[]Reporter{printer.NewlineReporter{}}) | ||
RunSpecs(t, "v1alpha1 Suite") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this automatically print the logs as we expect?
RunSpecsWithDefaultAndCustomReporters(t, | ||
"Controller Suite", | ||
[]Reporter{printer.NewlineReporter{}}) | ||
RunSpecs(t, "Controller Suite") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, do RunSpecs
without further args print logs during test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
closed #276
note: starting controller-runtime v0.15, fake client status update works differently
https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0