-
Notifications
You must be signed in to change notification settings - Fork 11
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
update controller runtime to v0.15 #86
Conversation
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.
Looks good. Just one comment to address.
require.ErrorContains(t, err, "dial tcp: lookup fail-cluster.com") | ||
// for ci the error message is dial tcp: lookup fail-cluster.com on 127.0.0.53:53: no such host, could go the regex way or string submatching with wildcards | ||
// having two separate checks for different substrings is an easy fix | ||
require.ErrorContains(t, err, "no such host") |
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.
I did consider only checking for "no such host", but I do see value in checking for the host name as well - which we are setting explicitly in the test above.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #86 +/- ##
=======================================
Coverage 68.00% 68.00%
=======================================
Files 44 44
Lines 3175 3175
=======================================
Hits 2159 2159
Misses 825 825
Partials 191 191
|
Updates k8s dependencies to 0.28 and controller-runtime to v0.15.
All the other PRs update k8s dependencies to 0.27 but this one updates to 0.28 because of the following error:
../../../../pkg/mod/k8s.io/[email protected]/pkg/describe/describe.go:2667:65: cannot use ing.Status.LoadBalancer (variable of type "k8s.io/api/networking/v1".IngressLoadBalancerStatus) as "k8s.io/api/core/v1".LoadBalancerStatus value in argument to loadBalancerStatusStringer
and kubectl 0.28 was the only comptabile version.
With the update to controller-runtime v0.15 (changes in release detailed here), this PR has following changes to combat the breaking changes:
Changes wrt - https://issues.redhat.com/browse/SANDBOX-675
DO NOT MERGE (All the PRs related to version updates need to be merged at once, but these PR are for early feedback so that there are not a lot of changes to review at once)