Skip to content

Commit

Permalink
Fix ports for service and enable istio support out-of-the-box
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Tienkaiev <[email protected]>
  • Loading branch information
Hronom committed Jan 29, 2025
1 parent 0a4a50b commit 71e9cd2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/temporal/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ spec:
containerPort: {{ $serviceValues.service.port }}
protocol: TCP
{{- end }}
- name: membership
containerPort: {{ $serviceValues.service.membershipPort }}
protocol: TCP
{{- if or (eq $service "frontend") (eq $service "internal-frontend") }}
- name: http
containerPort: {{ $serviceValues.service.httpPort }}
Expand Down
9 changes: 9 additions & 0 deletions charts/temporal/templates/server-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,21 @@ spec:
clusterIP: None
publishNotReadyAddresses: true
ports:
{{- if ne $service "worker" }}
- port: {{ $serviceValues.service.port }}
targetPort: rpc
appProtocol: tcp
protocol: TCP
name: grpc-rpc
{{- end }}
- port: {{ $serviceValues.service.membershipPort }}
targetPort: membership
appProtocol: tcp
protocol: TCP
name: grpc-membership
- port: 9090
targetPort: metrics
appProtocol: http
protocol: TCP
name: metrics
selector:
Expand Down

0 comments on commit 71e9cd2

Please sign in to comment.