registrator icon indicating copy to clipboard operation
registrator copied to clipboard

Flag to append internal service port to Service Name when one port is exposed

Open ch3lo opened this issue 8 years ago • 1 comments

Hi all,

we have a use case who needs always expose the Internal Service Port in the Service Name. I think it could be useful, because services always will have the same format and can be easily parsed with ^\w+-\d+$.

This behavior could be setted with a flag appendInternalPort by default false to maintain backward compatible.

ch3lo avatar Jun 06 '16 18:06 ch3lo

@ch3lo Maybe PR title would better reflect the code changes if it was something like "Flag/Option to unconditionally append internal service port number to Service Name"

sirlatrom avatar Jun 26 '16 08:06 sirlatrom