Skip to content
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

🐛 Fix: change singleton agent sa to work sa #279

Merged

Conversation

qiujian16
Copy link
Member

Summary

Related issue(s)

Fixes #

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Patch coverage: 80.55% and project coverage change: +0.05% 🎉

Comparison is base (fda6514) 60.98% compared to head (27dd369) 61.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
+ Coverage   60.98%   61.03%   +0.05%     
==========================================
  Files         128      128              
  Lines       13686    13719      +33     
==========================================
+ Hits         8347     8374      +27     
- Misses       4575     4580       +5     
- Partials      764      765       +1     
Flag Coverage Δ
unit 61.03% <80.55%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...usterletcontroller/klusterlet_runtime_reconcile.go 56.54% <0.00%> (ø)
...usterletcontroller/klusterlet_managed_reconcile.go 59.25% <80.64%> (+6.37%) ⬆️
...lers/klusterletcontroller/klusterlet_controller.go 67.54% <100.00%> (+0.28%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qiujian16 qiujian16 force-pushed the work-sa branch 10 times, most recently from bd9ac0f to 7697e8f Compare September 14, 2023 14:08
Signed-off-by: Jian Qiu <jqiu@redhat.com>
@elgnay
Copy link
Contributor

elgnay commented Sep 15, 2023

LGTM

@@ -7,7 +7,7 @@ metadata:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: open-cluster-management:{{ .KlusterletName }}-work:execution
name: open-cluster-management:{{ .KlusterletName }}-work:aggregate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we have the aggregate rule, do we still need this binding?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we did

@zhujian7
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Sep 15, 2023
@openshift-merge-robot openshift-merge-robot merged commit bd4982f into open-cluster-management-io:main Sep 15, 2023
13 checks passed
@qiujian16 qiujian16 deleted the work-sa branch September 15, 2023 08:04
TomerFi pushed a commit to TomerFi/OCM that referenced this pull request Sep 27, 2023
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
TomerFi pushed a commit to TomerFi/OCM that referenced this pull request Sep 27, 2023
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants