Host mappingSelector
should apply also to TCPMapping
#5781
Labels
t:feature
New feature or enhancement request
mappingSelector
should apply also to TCPMapping
#5781
Please describe your use case / problem.
Currently a
Host
can define amappingSelector
to allow aMapping
with the appropriate label to select automatically the correspondingHost
.This doesn't apply to
TCPMapping
though; if aTCPMapping
is configured with a label that could allow it to select aHost
, thatHost
isn't selected automatically and a generic defaultListener
is created in its place.Describe the solution you'd like
I would like to be able to define a
Host
andmappingSelector
as usual, but allow aTCPMapping
with the appropriate label to select automatically the matchingHost
.Describe alternatives you've considered
The only solution other than leaving the host selection as is, would rely on creating either a separate selector (
tcpMappingSelector
). I'm not sure about the practical implications or the effectiveness of this implementation proposal.Additional context
N/A
The text was updated successfully, but these errors were encountered: