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

Fix mutating web hook for node-local-dns to work with non-default ports. #121

Merged

Conversation

ScheererJ
Copy link
Member

How to categorize this PR?

/area networking
/kind bug

What this PR does / why we need it:
Fix mutating web hook for node-local-dns to work with non-default ports.

In case a non-default port, i.e. not port 8080, was used the specification
of the liveness probe and the exposed health check port may not fit after
the mutating web hook for node-local-dns has been applied. This should be
fixed now for the standard case.
(Port 8080 was not a good choice for a host port and therefore it was
changed.)

Which issue(s) this PR fixes:
None.

Special notes for your reviewer:
With gardener/gardener#6477 the default health check port was changed. Hence, the port needs to be kept by the mutating web hook.

Release note:

Cilium works again with node-local-dns after change of default health check port to 8099.

In case a non-default port, i.e. not port 8080, was used the specification
of the liveness probe and the exposed health check port may not fit after
the mutating web hook for node-local-dns has been applied. This should be
fixed now for the standard case.
(Port 8080 was not a good choice for a host port and therefore it was
changed.)
@ScheererJ ScheererJ requested review from a team as code owners August 18, 2022 13:03
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Aug 18, 2022
@gardener-robot gardener-robot added area/networking Networking related kind/bug Bug labels Aug 18, 2022
@gardener-robot
Copy link

@ScheererJ Thank you for your contribution.

@gardener-robot gardener-robot added needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Aug 18, 2022
@ScheererJ ScheererJ merged commit 57c285e into gardener:master Aug 18, 2022
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking Networking related kind/bug Bug needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants