Files
DataMate/deployment/helm/datamate/charts/gateway/templates/service.yaml
hefanli e5b28c26b1 add gateway (#187)
* feature: add gateway
2025-12-22 15:41:17 +08:00

16 lines
396 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "gateway.fullname" . }}
labels:
{{- include "gateway.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}
protocol: TCP
name: {{ .Chart.Name }}
selector:
{{- include "gateway.selectorLabels" . | nindent 4 }}