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

chore(haproxy): streamline service port configuration for flexibility #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthisholleville
Copy link
Contributor

Refactored the service port configuration in the HAProxy Helm chart to allow for more flexible and deterministic exposure of ports. This change introduces a new exposedPorts option in values.yaml, which, when specified, takes precedence over the default container ports for service exposure. This enhancement facilitates clearer and more customizable service definitions, catering to diverse deployment scenarios.


In my case, this feature enables me to expose a port within the pods to configure peers without exposing this port through my service.

For my service, I only want to expose ports 80, 443, and a few others.

Refactored the service port configuration in the HAProxy Helm chart to allow for more flexible and deterministic exposure of ports. This change introduces a new `exposedPorts` option in `values.yaml`, which, when specified, takes precedence over the default container ports for service exposure. This enhancement facilitates clearer and more customizable service definitions, catering to diverse deployment scenarios.

Signed-off-by: Matthis Holleville <[email protected]>
@dkorunic dkorunic self-assigned this Mar 7, 2024
@dkorunic dkorunic added the enhancement New feature or request label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants