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

feat(konnect): add finalizer handling for unmanaged KongPluginBindings for KongConsumer and KongConsumerGroup #704

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Oct 7, 2024

What this PR does / why we need it:

This adds handling of gateway.konghq.com/cleanup-plugin-binding finalizer for unmanaged (created by users) KongPluginBindings targeting KongConsumer and KongConsumerGroup.

This PR also does some refactoring in controller/konnect/reconciler_generic_pluginbindingfinalizer.go to decrease code duplication.

Which issue this PR fixes

Fixes #

Special notes for your reviewer:

Follow up on #683 and #611

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect significant changes

@pmalek pmalek added this to the KGO v1.4.x milestone Oct 7, 2024
@pmalek pmalek self-assigned this Oct 7, 2024
@pmalek pmalek changed the title feat(konnect): add finalizer handling for unmanaged KongPluginBindings feat(konnect): add finalizer handling for unmanaged KongPluginBindings for KongConsumer and KongConsumerGroup Oct 7, 2024
@pmalek pmalek marked this pull request as ready for review October 7, 2024 10:43
@pmalek pmalek requested a review from a team as a code owner October 7, 2024 10:43
@pmalek pmalek force-pushed the kongpluginbinding-cleanup-finalizer branch 2 times, most recently from 8c01a75 to adccdaa Compare October 7, 2024 12:06
@pmalek pmalek force-pushed the kongpluginbinding-cleanup-finalizer branch from adccdaa to 3c11bab Compare October 7, 2024 13:05
@pmalek pmalek enabled auto-merge (squash) October 7, 2024 14:23
@pmalek pmalek merged commit e3cd706 into main Oct 7, 2024
22 checks passed
@pmalek pmalek deleted the kongpluginbinding-cleanup-finalizer branch October 7, 2024 14:36
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.

2 participants