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

Streamline webhook handler registration in gardener-admission-controller #6873

Merged
merged 11 commits into from
Nov 4, 2022

Conversation

rfranzke
Copy link
Member

How to categorize this PR?

/area dev-productivity
/kind cleanup technical-debt

What this PR does / why we need it:
This PR streamlines the webhook handler registration in gardener-admission-controller so that it's similar to what happens for the webhooks in gardener-resource-manager (see #6865), and generally similar to the registration of controllers in other components (garden{er-controller-manager,er-scheduler,let}).

Which issue(s) this PR fixes:
Part of #4251

Special notes for your reviewer:
Similar to #6865.

Release note:

NONE

@gardener-prow gardener-prow bot added area/dev-productivity Developer productivity related (how to improve development) kind/cleanup Something that is not needed anymore and can be cleaned up kind/technical-debt Something that is only solved on the surface, but requires more (re)work to be done properly cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Oct 21, 2022
@gardener-prow gardener-prow bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 21, 2022
@timuthy
Copy link
Member

timuthy commented Oct 24, 2022

/assign

@rfranzke
Copy link
Member Author

/test pull-gardener-integration

Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

Nice to see some boilerplate code being eliminated ⭐
Please see my questions and comments added inline.

@timuthy
Copy link
Member

timuthy commented Nov 2, 2022

/test pull-gardener-e2e-kind-ha-zone

Copy link
Member

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the comments.
/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 2, 2022
Copy link
Member

@acumino acumino left a comment

Choose a reason for hiding this comment

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

/lgtm

@gardener-prow
Copy link
Contributor

gardener-prow bot commented Nov 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acumino

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

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 2, 2022
@gardener-prow gardener-prow bot merged commit b69b2e1 into gardener:master Nov 4, 2022
@rfranzke rfranzke deleted the streamline/gac branch November 4, 2022 09:48
@rfranzke rfranzke changed the title Streamline webhook handler registration in gardener-admission-controller Streamline webhook handler registration in gardener-admission-controller Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/dev-productivity Developer productivity related (how to improve development) cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/cleanup Something that is not needed anymore and can be cleaned up kind/technical-debt Something that is only solved on the surface, but requires more (re)work to be done properly lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants