Skip to content

Commit

Permalink
Issue 670: Updating the segmentstore port (#671)
Browse files Browse the repository at this point in the history
Signed-off-by: anisha.kj <[email protected]>
  • Loading branch information
anishakj authored Sep 12, 2023
1 parent 2881c61 commit 2d60c29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/pravega_segmentstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ func MakeSegmentStoreExternalServices(p *api.PravegaCluster) []*corev1.Service {
}
if p.Spec.Pravega.SegmentStoreLoadBalancerIP != "" {
service.Spec.Ports[0].Port = int32(serviceport) + i
service.Spec.Ports[1].Port = int32(adminPort) + i
service.Spec.LoadBalancerIP = p.Spec.Pravega.SegmentStoreLoadBalancerIP
}
services[i] = service
Expand Down

0 comments on commit 2d60c29

Please sign in to comment.