-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(routing): support multi port services (#76)
The selected Service might have multiple ports to different types of apis or protocols. In the previous version, we only exported the first port under the name ServiceName+ServiceNamespace. With this change we include all ports on the service and export them as ServiceName+ServicePortName+SerivceNamespace The PublicServiceName is changed to include the ServicePortName which means we now also loop over each ServicePort in the exportedService. Also moved the Host creation/concat into functions of the TemplateData object which means that they are constructed in one location and reused between templates and metadata updates in the api. --------- Co-authored-by: Bartosz Majsak <[email protected]>
- Loading branch information
1 parent
a0078c1
commit 5915fa2
Showing
6 changed files
with
190 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.