softplayer-helmfile/charts/softplayer-backend/templates/service.yaml

16 lines
398 B
YAML
Raw Permalink Normal View History

2024-04-06 17:56:56 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "softplayer-backend.fullname" . }}
labels:
{{- include "softplayer-backend.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 4020
protocol: TCP
name: grpc-web
selector:
{{- include "softplayer-backend.selectorLabels" . | nindent 4 }}