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

✨ support cloudevents for manifestworkreplicaset #352

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

skeeey
Copy link
Member

@skeeey skeeey commented Jan 19, 2024

Summary

Related issue(s)

Fixes #

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: Patch coverage is 95.65217% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 61.37%. Comparing base (92d4f86) to head (03d4722).

Files Patch % Lines
...setcontroller/manifestworkreplicaset_controller.go 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #352      +/-   ##
==========================================
+ Coverage   61.33%   61.37%   +0.04%     
==========================================
  Files         132      132              
  Lines       14036    14051      +15     
==========================================
+ Hits         8609     8624      +15     
  Misses       4672     4672              
  Partials      755      755              
Flag Coverage Δ
unit 61.37% <95.65%> (+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.

@skeeey
Copy link
Member Author

skeeey commented Feb 29, 2024

/assign @qiujian16

@skeeey
Copy link
Member Author

skeeey commented Feb 29, 2024

/assign @morvencao

return err
const (
sourceID = "mwrsctrl"
sourceClientID = "mwrsctrl-client"
Copy link
Member

Choose a reason for hiding this comment

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

nit: Is this safe to have the same hard-code clientID for mwrs controller?
does this mean anytime, only one mwrs controller instance is working?

Copy link
Member Author

Choose a reason for hiding this comment

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

maybe need to expose these with flags

@skeeey
Copy link
Member Author

skeeey commented Mar 5, 2024

/unhold

@@ -46,6 +46,7 @@ spec:
args:
- "/work"
- "manager"
- "--work-driver=kube"
Copy link
Member

Choose a reason for hiding this comment

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

add --cloudevents-client-id=$(POD_NAME)?

Copy link
Member Author

Choose a reason for hiding this comment

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

currently, we make the cloudevents-client-id optional, it only need when we use cloudevents, current case is kube, we can omit it

Copy link
Member

Choose a reason for hiding this comment

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

that makes sense!

@morvencao
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 5, 2024
@skeeey
Copy link
Member Author

skeeey commented Mar 6, 2024

/hold

the sdk-go has a bug, I will fix it, then update the sdk-go again

Signed-off-by: Wei Liu <liuweixa@redhat.com>
@skeeey
Copy link
Member Author

skeeey commented Mar 6, 2024

/unhold

@morvencao
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 6, 2024
@qiujian16
Copy link
Member

/approve

Copy link
Contributor

openshift-ci bot commented Mar 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@openshift-ci openshift-ci bot added the approved label Mar 6, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit b1b734a into open-cluster-management-io:main Mar 6, 2024
14 checks passed
@skeeey skeeey deleted the sc branch March 13, 2024 08:16
mprahl pushed a commit to mprahl/OCM that referenced this pull request Mar 14, 2024
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.

None yet

4 participants