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: allow container port configuration #1606

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

alemorcuq
Copy link
Collaborator

Description of the change
The container and host ports are now configurable in the Helm chart. As per the docs, when hostNetwork is enabled, the host ports are set equal to the container ports.

$ kubectl explain po.spec.containers.ports

[...]
   hostPort	<integer>
     Number of port to expose on the host. If specified, this must be a valid
     port number, 0 < x < 65536. If HostNetwork is specified, this must match
     ContainerPort. Most containers do not need this.
[...]

Benefits
Users can configure the ports to use.

Possible drawbacks

Applicable issues

@agarcia-oss agarcia-oss merged commit fb1b6cd into bitnami-labs:main Oct 4, 2024
16 checks passed
@alemorcuq alemorcuq deleted the configure-pod-ports branch October 4, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow overriding hostport when using hostNetwork
2 participants