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

Helm: change default webhook port to 10250 #3877

Merged
merged 3 commits into from
Dec 27, 2022

Conversation

cwen0
Copy link
Member

@cwen0 cwen0 commented Dec 27, 2022

Signed-off-by: cwen0 cwenyin0@gmail.com

What problem does this PR solve?

WEBHOOK_PORT is configured the port for chaos-controller-manager provides webhooks. In GKE private clusters, by default kubernetes apiservers are allowed to talk to the cluster nodes only on 443 and 10250. so configuring WEBHOOK_PORT: 10250, will work out of the box without needing to add firewall rules or requiring NET_BIND_SERVICE capabilities to bind port numbers <1000
https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#add_firewall_rules

image

What's changed and how it works?

Related changes

  • This change also requires further updates to the website (e.g. docs)
  • This change also requires further updates to the UI interface
  • Need to cheery-pick to release branches
    • release-2.5
    • release-2.4

Checklist

CHANGELOG

  • I have updated the CHANGELOG.md
  • I have labeled this PR with "no-need-update-changelog"

Tests

  • Unit test
  • E2E test
  • No code
  • Manual test (add steps below)

Side effects

  • Breaking backward compatibility

DCO

If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it:

git commit --amend --signoff
git push --force

Signed-off-by: cwen0 <cwenyin0@gmail.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Dec 27, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • iguoyr

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@cwen0 cwen0 changed the title change default webhook port to 10250 Helm: change default webhook port to 10250 Dec 27, 2022
Signed-off-by: cwen0 <cwenyin0@gmail.com>
@cwen0 cwen0 added this to the Release 2.6 milestone Dec 27, 2022
Signed-off-by: cwen0 <cwenyin0@gmail.com>
@ti-chi-bot ti-chi-bot added size/S and removed size/XS labels Dec 27, 2022
@cwen0 cwen0 requested a review from iguoyr December 27, 2022 06:58
Copy link
Member

@iguoyr iguoyr left a comment

Choose a reason for hiding this comment

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

LGTM

@cwen0
Copy link
Member Author

cwen0 commented Dec 27, 2022

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 27fd31f

@ti-chi-bot ti-chi-bot merged commit 2b22039 into chaos-mesh:master Dec 27, 2022
@cwen0 cwen0 deleted the update-webhook-port branch December 27, 2022 12:04
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.

3 participants