Files
it_cost_dashboard/helm/templates/server-service.yaml
T
2026-09-11 10:11:09 +08:00

16 lines
498 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "it-cost-dashboard.fullname" . }}-server
labels:
{{- include "it-cost-dashboard.componentLabels" (dict "ctx" . "component" "server") | nindent 4 }}
spec:
type: {{ .Values.server.service.type }}
ports:
- name: http
port: {{ .Values.server.service.port }}
targetPort: http
protocol: TCP
selector:
{{- include "it-cost-dashboard.componentSelectorLabels" (dict "ctx" . "component" "server") | nindent 4 }}