Skip to content

Commit

Permalink
wip: change gRPC port number to 58080
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Aug 27, 2024
1 parent 5c57853 commit c9d112e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/mantle/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
fieldPath: metadata.namespace
{{- if eq .Values.controller.role "secondary" }}
ports:
- containerPort: 8080
- containerPort: 58080
{{- end }}
- command:
- /bin/bash
Expand Down
2 changes: 1 addition & 1 deletion cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func setupSecondary(ctx context.Context, wg *sync.WaitGroup, cancel context.Canc

proto.RegisterMantleServiceServer(serv, &controller.SecondaryServer{})

l, err := net.Listen("tcp", ":8080")
l, err := net.Listen("tcp", ":58080")
if err != nil {
return fmt.Errorf("failed to listen: %w", err)
}
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/testdata/secondary-mantle-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
- port: 58080
targetPort: 58080
protocol: TCP
name: grpc
selector:
Expand Down

0 comments on commit c9d112e

Please sign in to comment.