feat: library-go bump#301
Conversation
|
/test e2e-upgrade |
|
/cc @yanirq something to be aware of that needs to be supported by the future NTO/PAO rewrite/merge. |
rewrite will need to be rebase. Movement of PAO will contain this update openshift-kni/performance-addon-operators#795 |
|
/test e2e-upgrade |
|
Thank you for the PR, @eggfoobar , however this doesn't seem to be working as expected at the moment. Tested on a HA cluster and SNO cluster and seeing HA cluster leader election values in both cases. Sounds like some perms are missing. |
jmencak
left a comment
There was a problem hiding this comment.
Thank you for the PR, this seems to work for me after the following change:
--- a/manifests/40-rbac.yaml
+++ b/manifests/40-rbac.yaml
@@ -48,9 +48,10 @@ rules:
- apiGroups: [""]
resources: ["nodes/metrics","nodes/specs"]
verbs: ["get"]
-# Needed by every CVO-managed operator.
+# clusteroperators are needed by every CVO-managed operator,
+# infrastructures by the leader election code.
- apiGroups: ["config.openshift.io"]
- resources: ["clusteroperators"]
+ resources: ["clusteroperators", "infrastructures"]
verbs: ["create","get","list","watch"]
# Needed by every CVO-managed operator.
- apiGroups: ["config.openshift.io"]
|
Thanks so much @jmencak ! Removing the WIP |
No worries, will you push the fix and squash so that I can approve this? Thank you! |
updated library go to latest moved leader election config to util pkg updated to use leader election configs from library-go Signed-off-by: ehila <ehila@redhat.com> feat: added rbac permission for infra resource added infra resource rbac permission for getting cluster topology used by leader election code Signed-off-by: ehila <ehila@redhat.com>
9bf63d2 to
544ff13
Compare
|
Absolutely, updated :) |
|
Retested. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eggfoobar, jmencak 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 |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@eggfoobar: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
updated library go to latest moved leader election config to util pkg updated to use leader election configs from library-go Signed-off-by: ehila <ehila@redhat.com> feat: added rbac permission for infra resource added infra resource rbac permission for getting cluster topology used by leader election code Signed-off-by: ehila <ehila@redhat.com>
updated library go to latest moved leader election config to util pkg updated to use leader election configs from library-go Signed-off-by: ehila <ehila@redhat.com> feat: added rbac permission for infra resource added infra resource rbac permission for getting cluster topology used by leader election code Signed-off-by: ehila <ehila@redhat.com>
Bumping the library-go dependency to latest, this should take advantage of leader election changes for SNO clusters proposed in this library-go PR.
Changes:
Signed-off-by: ehila ehila@redhat.com