-
Notifications
You must be signed in to change notification settings - Fork 94
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
✨ Retrigger CSR when certs doesn't has desired org and ou of subject(registrationConfig). #377
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #377 +/- ##
==========================================
+ Coverage 61.37% 61.41% +0.03%
==========================================
Files 132 132
Lines 14051 14064 +13
==========================================
+ Hits 8624 8637 +13
- Misses 4672 4673 +1
+ Partials 755 754 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/assign @qiujian16 |
} | ||
|
||
// check groups(origanization) | ||
if len(subject.Organization) > 0 { |
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.
why not just deepEqual?
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.
Agree, updated.
3016c19
to
d644f18
Compare
Signed-off-by: GitHub <noreply@github.com>
4041177
to
fcace39
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.
/approve
/lgtm
[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 |
edef33d
into
open-cluster-management-io:main
Summary
Before: the CSR only be retriggerred when subject.CommonName doesn't match.
Now: if there is no certs match subject (commonnam + org + ou) , CSR get retriggered.