Skip to content

[extensions] Set servicePort in ServiceReference for ModeService#14063

Merged
gardener-prow[bot] merged 2 commits intogardener:masterfrom
rfranzke:webhook-modeservice-serviceport
Feb 16, 2026
Merged

[extensions] Set servicePort in ServiceReference for ModeService#14063
gardener-prow[bot] merged 2 commits intogardener:masterfrom
rfranzke:webhook-modeservice-serviceport

Conversation

@rfranzke
Copy link
Copy Markdown
Member

@rfranzke rfranzke commented Feb 13, 2026

How to categorize this PR?

/area usability
/kind bug

What this PR does / why we need it:

Special notes for your reviewer:
/cc @databus23

Release note:

When using `ModeService` in the extension webhook library, the specified service port is now properly propagated when constructing the `admissionregistrationv1.WebhookClientConfig` for `{Validating,Mutating}WebhookConfiguration`s (previously, it was not specified at all and defaulted to `443` by Kubernetes). Make sure to specify `--webhook-config-service-port` to prevent falling back to the `--webhook-config-server-port` (if configured).

@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow Bot commented Feb 13, 2026

@rfranzke: GitHub didn't allow me to request PR reviews from the following users: databus23.

Note that only gardener members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

How to categorize this PR?

/area usability
/kind bug

What this PR does / why we need it:

Special notes for your reviewer:
/cc @databus23

Release note:

When using `ModeService` in the extension webhook library, the specified service port is now properly propagated when constructing the `admissionregistrationv1.WebhookClientConfig` for `{Validating,Mutating}WebhookConfiguration`s (previously, it was not specified at all and defaulted to `443` by Kubernetes).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@gardener-prow gardener-prow Bot added area/usability Usability related kind/bug Bug cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 13, 2026
@rfranzke rfranzke force-pushed the webhook-modeservice-serviceport branch from a074065 to da7836e Compare February 13, 2026 15:10
- `Port` field was introduced with Kubernetes v1.15
  (kubernetes/kubernetes#74855) which didn't
exit at the point
- This webhook registration code was introduced with gardener-attic/gardener-extensions#218
- We were using `k8s.io/api@1.13.4` at this point in time: https://github.com/gardener-attic/gardener-extensions/blob/ef83a2368cdf11d11720bd198f5cba0161b48187/Gopkg.toml#L26-L28
@rfranzke rfranzke force-pushed the webhook-modeservice-serviceport branch from da7836e to ac6ad65 Compare February 13, 2026 15:49
Copy link
Copy Markdown
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.

/lgtm
/approve

@gardener-prow gardener-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 16, 2026
@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow Bot commented Feb 16, 2026

LGTM label has been added.

DetailsGit tree hash: 0ae5fef54b881182bd77631a213a081676c0d2c9

@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow Bot commented Feb 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: timuthy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Feb 16, 2026
@rfranzke
Copy link
Copy Markdown
Member Author

/retest

1 similar comment
@acumino
Copy link
Copy Markdown
Member

acumino commented Feb 16, 2026

/retest

@gardener-prow gardener-prow Bot merged commit 51155ef into gardener:master Feb 16, 2026
18 checks passed
@rfranzke rfranzke deleted the webhook-modeservice-serviceport branch February 17, 2026 08:17
ialidzhikov added a commit to ialidzhikov/gardener-extension-registry-cache that referenced this pull request Feb 27, 2026
This is a required adaptation to the breaking change in gardener/gardener#14063.
gardener-prow Bot pushed a commit to gardener/gardener-extension-registry-cache that referenced this pull request Mar 4, 2026
* Bump github.com/gardener/gardener from 1.136.3 to 1.137.0

Bumps [github.com/gardener/gardener](https://github.com/gardener/gardener) from 1.136.3 to 1.137.0.
- [Release notes](https://github.com/gardener/gardener/releases)
- [Commits](https://github.com/gardener/gardener/commits)

---
updated-dependencies:
- dependency-name: github.com/gardener/gardener
  dependency-version: 1.137.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run `gardener-api-types-submodule-import-path-migration.sh`

See https://gist.github.com/LucaBernstein/a0a4bd39fb1232511ed0b65432fff653

* make format

* make tidy

* Update the `github.com/gardener/gardener/hack/tools/logcheck` module to the version of the `github.com/gardener/gardener` module

* admission: Fix the `servicePort`

This is a required adaptation to the breaking change in gardener/gardener#14063.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ismail Alidzhikov <9372594+ialidzhikov@users.noreply.github.com>
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/usability Usability related cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/bug Bug lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants