Files
neo-blog/chart/templates/backend-service.yaml
2025-07-28 18:31:17 +08:00

16 lines
396 B
YAML

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