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
feat(cmd): apply MultiNamespacedCacheBuilder, bump-up controller-runtime to 0.8.3 #176
feat(cmd): apply MultiNamespacedCacheBuilder, bump-up controller-runtime to 0.8.3 #176
Conversation
/hold |
Codecov Report
@@ Coverage Diff @@
## master #176 +/- ##
==========================================
+ Coverage 26.96% 27.19% +0.23%
==========================================
Files 33 33
Lines 2440 2445 +5
==========================================
+ Hits 658 665 +7
+ Misses 1723 1722 -1
+ Partials 59 58 -1
|
9b12087
to
567b7a4
Compare
@@ -36,7 +36,7 @@ spec: | |||
env: | |||
# "" so that the cache can read objects outside its namespace | |||
- name: WATCH_NAMESPACE | |||
value: "" | |||
value: "openshift-sre-sshd,openshift-cloud-ingress-operator,openshift-ingress,openshift-ingress-operator,openshift-kube-apiserver" |
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 work?? That's awesome, and way better.
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.
9f0579c
to
96404a0
Compare
96404a0
to
e816cfe
Compare
45abeb2
to
93cf3f2
Compare
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.
This looks good from what I can tell. A couple of nonblocking questions/observations inline. I'll leave it to CIO maintainers to stamp.
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
/hold
12e1cfe
to
7d662bc
Compare
…ner-runtime to 0.8.3
7d662bc
to
ce32228
Compare
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
/hold
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: boranx, fahlmant 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 |
/unhold |
Fixes: https://issues.redhat.com/browse/OSD-7118
unblocked
Currently, this PR is blocked as it would require go 1.15, bp supports 1.13.8 as of now.a problem:
kubernetes-sigs/controller-runtime#934
With MultiNamespacedCacheBuilder, using the client, we're making a call to be able to get cluster platform(https://github.com/openshift/cloud-ingress-operator/blob/master/pkg/utils/infrastructure.go#L18-L22), which is a global resource, then we're seeing errors in the reconcile loop of the controllers because of that issue above:the issue above is Solved:
Using the same pattern used on unit tests of the package(dynamic client + unstructured.Unstructured):
https://github.com/kubernetes-sigs/controller-runtime/pull/1326/files#diff-3e99be25ef623d0bc22234a878bef63a1fef2029a18d5b35f9079537e9f59ebeR432-R441
Requirement:
Progress to the desired version
#177