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

chore: remove webhooks of all crds #7573

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

leon-inf
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines. label Jun 20, 2024
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 64.66%. Comparing base (015ee14) to head (3844eb6).
Report is 11 commits behind head on main.

Files Patch % Lines
apis/apps/v1alpha1/opsrequest_validation.go 0.00% 17 Missing ⚠️
controllers/apps/transformer_component_status.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7573      +/-   ##
==========================================
- Coverage   66.02%   64.66%   -1.36%     
==========================================
  Files         343      329      -14     
  Lines       42227    41486     -741     
==========================================
- Hits        27880    26828    -1052     
- Misses      11916    12314     +398     
+ Partials     2431     2344      -87     
Flag Coverage Δ
unittests 64.66% <60.00%> (-1.36%) ⬇️

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.

@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch from cbf16d1 to 2d61885 Compare June 20, 2024 03:49
@github-actions github-actions bot added size/XXL Denotes a PR that changes 1000+ lines. and removed size/L Denotes a PR that changes 100-499 lines. labels Jun 20, 2024
@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch from 2d61885 to a7d7edd Compare June 20, 2024 06:18
@leon-inf leon-inf marked this pull request as ready for review June 20, 2024 06:30
@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch from a7d7edd to 6d5868f Compare June 20, 2024 07:42
@leon-inf leon-inf changed the title chore: remove webhooks of definition crds chore: remove webhooks of all crds Jun 20, 2024
@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch from 6d5868f to 853b32b Compare June 20, 2024 08:17
@@ -24,26 +24,6 @@ webhooks:
resources:
Copy link
Contributor

Choose a reason for hiding this comment

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

Why keeps /mutate-workloads-kubeblocks-io-v1alpha1-instanceset

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All cleaned up.

This file is maintained and updated by controller-gen, it seems that it behaves weirdly when the webhook marker is removed.

@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch 2 times, most recently from c99ed4d to bacfd4a Compare June 21, 2024 02:18
return errors.New("invalid destination object")
}
return convertToImpl(cc, ccv1)
return errors.New("not implemented")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why keeps this two "ConverTo" methods?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deleted

@leon-inf leon-inf force-pushed the support/remove-webhooks-of-definition-crds branch from bacfd4a to 3844eb6 Compare June 21, 2024 06:43
@apecloud-bot apecloud-bot added the approved PR Approved Test label Jun 21, 2024
@leon-inf leon-inf merged commit f03aab3 into main Jun 27, 2024
55 checks passed
@leon-inf leon-inf deleted the support/remove-webhooks-of-definition-crds branch June 27, 2024 07:51
@github-actions github-actions bot added this to the Release 0.8.4 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR Approved Test size/XXL Denotes a PR that changes 1000+ lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants