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

🌱 add cloudevents driver feature gate for manifestwork replicaset. #326

Conversation

morvencao
Copy link
Member

Summary

This PR tries to add new feature gate to control whether cloudevents driver is enabled for manifestworkreplicaset controlller.

Related issue(s)

open-cluster-management-io/ocm#381

Signed-off-by: morvencao <lcao@redhat.com>
@@ -64,6 +64,10 @@ const (
// of clusters selected by a placement. For more info check ManifestWorkReplicaSet APIs
ManifestWorkReplicaSet featuregate.Feature = "ManifestWorkReplicaSet"

// ManifestWorkReplicaSetCloudEventsDrivers will enable the cloud events drivers (mqtt or grpc) for the
// ManifestWorkReplicaSet controller, so that the controller can send manifestworks through cloud events.
ManifestWorkReplicaSetCloudEventsDrivers featuregate.Feature = "ManifestWorkReplicaSetCloudEventsDrivers"
Copy link
Member

Choose a reason for hiding this comment

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

might be just CloudEventsDrivers. addon manager might need to pick this featuregate also.

Copy link
Member Author

@morvencao morvencao Apr 19, 2024

Choose a reason for hiding this comment

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

updated name to CloudEventsDrivers.

Signed-off-by: morvencao <lcao@redhat.com>
Copy link
Member

@qiujian16 qiujian16 left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

Copy link
Contributor

openshift-ci bot commented Apr 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: morvencao, 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

@openshift-merge-bot openshift-merge-bot bot merged commit aacb530 into open-cluster-management-io:main Apr 19, 2024
10 checks passed
@morvencao morvencao deleted the br_add_cloudevents_drivers_featuregate branch April 19, 2024 07:06
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

2 participants