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

🐛 Only delele serviceaccount managed by the addon agent #147

Conversation

zhujian7
Copy link
Member

@zhujian7 zhujian7 commented Dec 20, 2024

Summary

When delete a managedserviceaccount, only delele the serviceaccount that is created by the addon agent

Related issue(s)

Fixes #

Copy link

openshift-ci bot commented Dec 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhujian7

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

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 68.75000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 36.90%. Comparing base (2ff2510) to head (08f32a1).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/addon/agent/controller/token.go 68.75% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   36.57%   36.90%   +0.32%     
==========================================
  Files          19       19              
  Lines         987     1000      +13     
==========================================
+ Hits          361      369       +8     
- Misses        606      610       +4     
- Partials       20       21       +1     
Flag Coverage Δ
unit 36.90% <68.75%> (+0.32%) ⬆️

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

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

@zhujian7 zhujian7 changed the title Only delele serviceaccount managed by the addon agent 🐛 Only delele serviceaccount managed by the addon agent Dec 20, 2024
@zhujian7
Copy link
Member Author

/cc @xuezhaojun @qiujian16

@openshift-ci openshift-ci bot requested a review from xuezhaojun December 20, 2024 09:22
@zhujian7
Copy link
Member Author

/cc @qiujian16 @xuezhaojun

@qiujian16
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Dec 23, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 70597d9 into open-cluster-management-io:main Dec 23, 2024
12 checks passed
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.

2 participants