-
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
⚠️ Update OCM APIs and apply Rollout Strategy API changes #310
⚠️ Update OCM APIs and apply Rollout Strategy API changes #310
Conversation
/assign @haoqing0110 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #310 +/- ##
==========================================
+ Coverage 61.61% 61.63% +0.02%
==========================================
Files 132 132
Lines 13956 13956
==========================================
+ Hits 8599 8602 +3
+ Misses 4592 4589 -3
Partials 765 765
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
99901ac
to
5b32a0b
Compare
@@ -799,6 +856,9 @@ func TestAddonConfigReconcile(t *testing.T) { | |||
{GroupName: "group1"}, | |||
}, | |||
}, | |||
RolloutConfig: clusterv1alpha1.RolloutConfig{ |
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.
Will the test case report error if not adding None
explicitly? since I though empty string will works as None
refer to https://github.com/open-cluster-management-io/api/blob/main/cluster/v1alpha1/helpers.go#L554.
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.
Create a fix PR open-cluster-management-io/api#295, I think we should allow the user not define ProgressivePerGroup field and just use the default value.
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.
okay, I agree. will update the API commit version based on the above PR fix.
fcd9445
to
98fde64
Compare
/lgtm |
Signed-off-by: melserngawy <melserng@redhat.com>
98fde64
to
502a0b0
Compare
/approve Leave to @haoqing0110 for final review. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, serngawy 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 |
/lgtm |
615f5a4
into
open-cluster-management-io:main
Summary
Update OCM APIs and apply Rollout Strategy API changes
Related issue(s)
Fixes #