it-tools/helm/templates/service.yaml
2024-11-20 13:33:54 +08:00

16 lines
410 B
YAML

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