8000 Added if to hostport on hostnetwork config value by EutiziStefano · Pull Request #4137 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Conversation

EutiziStefano
Copy link
Contributor

Proposed changes

The chart inserts "HostPort" in the daemonset also when "HostNetwork" is setted to "false", do not set hostPort in this case.

Setting the controller.hostNetwork: false should not set hostPort in the deployment or daemonset.
This can be fixed in helm chart, inserting in templates/controller-daemonset.yaml a if statement around the two host port.

Thanks
Stefano

Signed-off-by: EutiziStefano <57256061+EutiziStefano@users.noreply.github.com>
@EutiziStefano EutiziStefano requested a review from a team as a code owner July 24, 2023 10:55
@github-actions github-actions bot added the helm_chart Pull requests that update the Helm Chart label Jul 24, 2023
@lucacome
Copy link

@EutiziStefano hostNetwork and hostPort are independent of each other. I've opened #4252 to make hostPort customizable

@lucacome lucacome closed this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helm_chart Pull requests that update the Helm Chart
Projects
None yet
3FEE
Development

Successfully merging this pull request may close these issues.

2 participants
0