Skip to content

🌱 Refactor client certificate #522

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

Conversation

xuezhaojun
Copy link
Member

@xuezhaojun xuezhaojun commented Jun 15, 2024

Summary

  • Remove the function HasValidHubKubeconfig since it's not used anymore.
  • Print more information in shouldCreateCSR function.

@openshift-ci openshift-ci bot requested review from elgnay and skeeey June 15, 2024 08:01
Copy link

codecov bot commented Jun 15, 2024

Codecov Report

Attention: Patch coverage is 78.57143% with 6 lines in your changes missing coverage. Please review.

Project coverage is 62.41%. Comparing base (a14450a) to head (3439fd4).

Files Patch % Lines
pkg/registration/clientcert/cert_controller.go 78.57% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #522      +/-   ##
==========================================
- Coverage   62.44%   62.41%   -0.04%     
==========================================
  Files         138      138              
  Lines       11610    11590      -20     
==========================================
- Hits         7250     7234      -16     
+ Misses       3593     3591       -2     
+ Partials      767      765       -2     
Flag Coverage Δ
unit 62.41% <78.57%> (-0.04%) ⬇️

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.

@xuezhaojun xuezhaojun force-pushed the remove-HasValidHubKubeconfig branch from e435060 to fa14811 Compare June 15, 2024 08:54
@xuezhaojun xuezhaojun changed the title 🌱 Remove HasValidHubKubeconfig function since it's not used. 🌱 Refactor client certificate Jun 15, 2024
@xuezhaojun xuezhaojun changed the title 🌱 Refactor client certificate 🌱 Remove unused function Jun 15, 2024
@xuezhaojun xuezhaojun force-pushed the remove-HasValidHubKubeconfig branch from fa14811 to 537e38b Compare June 15, 2024 09:56
@xuezhaojun xuezhaojun changed the title 🌱 Remove unused function 🌱 Refactor client certificate Jun 15, 2024
@xuezhaojun xuezhaojun closed this Jun 16, 2024
@xuezhaojun xuezhaojun reopened this Jun 16, 2024
@xuezhaojun
Copy link
Member Author

/assign @qiujian16

@xuezhaojun
Copy link
Member Author

/hold

@xuezhaojun
Copy link
Member Author

/unhold

@xuezhaojun
Copy link
Member Author

/assign @elgnay

Please take a review when you have time, thanks!

@qiujian16
Copy link
Member

/approve

Copy link
Contributor

openshift-ci bot commented Jun 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16, xuezhaojun

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

@qiujian16
Copy link
Member

/hold
@elgnay this may conflict with the PR that remove additionalDataSensitive flag?

@qiujian16
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 24, 2024
@xuezhaojun xuezhaojun force-pushed the remove-HasValidHubKubeconfig branch from 537e38b to 3439fd4 Compare June 26, 2024 08:46
@openshift-ci openshift-ci bot removed the lgtm label Jun 26, 2024
@xuezhaojun
Copy link
Member Author

@qiujian16 code rebased, please take another review.

@xuezhaojun
Copy link
Member Author

/unhold

@qiujian16
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 26, 2024
@xuezhaojun xuezhaojun closed this Jun 26, 2024
@xuezhaojun xuezhaojun reopened this Jun 26, 2024
@xuezhaojun xuezhaojun closed this Jun 26, 2024
@xuezhaojun xuezhaojun reopened this Jun 26, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit fc9b2d9 into open-cluster-management-io:main Jun 26, 2024
29 of 34 checks passed
@xuezhaojun xuezhaojun deleted the remove-HasValidHubKubeconfig branch June 26, 2024 14:00
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.

3 participants