Skip to content

Commit

Permalink
fix: adding protocol to endpoints registered for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
aureamunoz committed Nov 30, 2022
1 parent d97b250 commit cef516e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ private Endpoints buildAndRegisterKubernetesService(String serviceName, String n
Endpoints endpoint = new EndpointsBuilder()
.withNewMetadata().withName(serviceName).withLabels(serviceLabels).endMetadata()
.addToSubsets(new EndpointSubsetBuilder().withAddresses(endpointAddresses)
.addToPorts(new EndpointPortBuilder().withPort(8080).build())
.addToPorts(new EndpointPortBuilder().withPort(8080).withProtocol("TCP").build())
.build())
.build();

Expand Down

0 comments on commit cef516e

Please sign in to comment.