You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
464 B
20 lines
464 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "openim-msggateway.fullname" . }}
|
|
labels:
|
|
{{- include "openim-msggateway.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
- port: 88
|
|
targetPort: rpc
|
|
protocol: TCP
|
|
name: rpc
|
|
selector:
|
|
{{- include "openim-msggateway.selectorLabels" . | nindent 4 }}
|