Skip to content

Commit

Permalink
Merge branch 'main' into avimoondra/update-port-names-for-istio--2
Browse files Browse the repository at this point in the history
  • Loading branch information
avimoondra authored May 21, 2024
2 parents 6bb4313 + 379baa8 commit 6349293
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ spec:
- name: rpc
containerPort: {{ include (printf "temporal.%s.grpcPort" $service) $ }}
protocol: TCP
- name: http-membership
containerPort: {{ include (printf "temporal.%s.membershipPort" $service) $ }}
protocol: TCP
- name: http-metrics
containerPort: 9090
protocol: TCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ spec:
ports:
- port: {{ .Values.server.frontend.service.port }}
targetPort: rpc
{{- if semverCompare ">=1.20-0" $.Capabilities.KubeVersion.Version }}
appProtocol: TCP
{{- end }}
protocol: TCP
name: grpc-rpc
{{- if hasKey .Values.server.frontend.service "nodePort" }}
nodePort: {{ .Values.server.frontend.service.nodePort }}
{{- end }}
- port: {{ include "temporal.frontend.membershipPort" $ }}
targetPort: membership
{{- if semverCompare ">=1.20-0" $.Capabilities.KubeVersion.Version }}
appProtocol: TCP
{{- end }}
protocol: TCP
name: grpc-membership

selector:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down Expand Up @@ -64,7 +75,17 @@ spec:
- port: {{ $serviceValues.service.port }}
targetPort: rpc
protocol: TCP
{{- if semverCompare ">=1.20-0" $.Capabilities.KubeVersion.Version }}
appProtocol: TCP
{{- end }}
name: grpc-rpc
- port: {{ include (printf "temporal.%s.membershipPort" $service) $ }}
targetPort: membership
{{- if semverCompare ">=1.20-0" $.Capabilities.KubeVersion.Version }}
appProtocol: TCP
{{- end }}
protocol: TCP
name: grpc-membership
- port: 9090
targetPort: http-metrics
protocol: TCP
Expand Down

0 comments on commit 6349293

Please sign in to comment.