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

🌱 addon consume common rollout api #260

Conversation

haoqing0110
Copy link
Member

No description provided.

@haoqing0110
Copy link
Member Author

/hold

@@ -187,89 +187,9 @@ type PlacementStrategy struct {
Configs []AddOnConfig `json:"configs,omitempty"`
// The rollout strategy to apply addon configurations change.
// The rollout strategy only watches the addon configurations defined in ClusterManagementAddOn.
// +kubebuilder:default={type: UpdateAll}
// +kubebuilder:default={type: All}
Copy link
Member

Choose a reason for hiding this comment

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

this default value change might be breaking for the existing API

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, the existing cma will still hold value UpdateAll.
This will impact the cma that claims managed by addon-manager, and addon-manager-controller will report error err: incorrect rollout strategy type UpdateAll .

Since the addon-manager is an experimental feature in the last release, might only need to doc this breaking change?

@haoqing0110 haoqing0110 changed the title addon consume common rollout api 🌱 addon consume common rollout api Sep 7, 2023
Signed-off-by: haoqing0110 <qhao@redhat.com>
@qiujian16
Copy link
Member

/approve
/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

@haoqing0110
Copy link
Member Author

/unhold

@openshift-merge-robot openshift-merge-robot merged commit 0146ddf into open-cluster-management-io:main Sep 19, 2023
10 checks passed
@haoqing0110 haoqing0110 deleted the br_addon-common-rollout-api branch September 19, 2023 04:34
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

3 participants