Files
DataMate/deployment/helm/datamate/charts/backend-python/templates/service.yaml
hhhhsc701 f78475e29f Develop hsc (#58)
feature: 优化镜像构建/部署
2025-11-06 17:14:54 +08:00

16 lines
410 B
YAML

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