Skip to content

Conversation

@tpaulshippy
Copy link
Contributor

Link to Jira ticket

Purpose

Sometimes we need to supplement the existing 80/443 ports with additional ports on the same container.

Approach

Provide "additional_port_mappings" kwarg.

Testing

Added pytest.

Paul Shippy added 2 commits December 1, 2025 15:46
…ings

- Added 'additional_port_mappings' parameter to allow supplementary port mappings without overriding automatic behavior.
- Updated logic to incorporate additional port mappings when automatic port mapping is used.
- Introduced tests to verify the inclusion of additional port mappings alongside the main container port mapping.
- Ensured that additional port mappings do not override automatic port mappings, maintaining expected behavior.
Copy link
Contributor

@JoshuaGleason JoshuaGleason left a comment

Choose a reason for hiding this comment

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

Seems like it makes sense.
Why not just pass in port mappings?

@tpaulshippy
Copy link
Contributor Author

Seems like it makes sense. Why not just pass in port mappings?

Because that overrides the port mapping that connects to the target group that is created within this component (we can't reference it yet).

@tpaulshippy tpaulshippy merged commit 06382ef into main Dec 1, 2025
2 checks passed
@tpaulshippy tpaulshippy deleted the STK-14496 branch December 1, 2025 23:05
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.

2 participants