Repository navigation
Chart: Add option to run webhook in hostNetwork - #3113
Conversation
|
Hi @jfrancisco0. Thanks for your PR. I'm waiting for a jetstack or cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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/test-infra repository. |
|
/assign @munnerz |
|
default webhook port should be changed as well, because it will conflict with kubelet |
You're right, I have it running in my cluster by setting And I didn't want to break anyone's deployment. I may, however, add a comment to Does this sound good to you? |
|
Added a comment to the hostNetwork option, regarding the need to change port. What do you think? |
|
Didn't know that about GKE private clusters. Makes sense to keep it working where it already works, so the comment will have to do. |
|
Thank you for this! This will probably land in v1.0, so would you mind making a PR at https://github.com/cert-manager/website/ to the release-next branch to document this it will help a lot of users! |
Signed-off-by: João Francisco <[email protected]>
Signed-off-by: João Francisco <[email protected]>
Signed-off-by: João Francisco <[email protected]>
Signed-off-by: João Francisco <[email protected]>
|
Thanks for the feedback, @meyskens! |
|
Looks great! Thanks for this! /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jfrancisco0, meyskens The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
|
|
If I remember correctly, the current value is explicitly chosen because it works out of the box on GKE. Optimising for the minority of EKS users using custom overlay networks would make not work for more people than it would help. edit: |
What this PR does / why we need it:
When using AWS EKS with a third party CNI (such as Weave or Calico), cert-manager cannot reach the webhook. Running the webhook on the host network solves this issue.
Used the comment from https://github.com/helm/charts/blob/master/stable/prometheus-operator/values.yaml#L1294 in the
values.yaml.Which issue this PR fixes:
Fixes some occurrences of issue #2109, such as #2109 (comment).
Release note:
/kind feature