k8s-pulse/helm-chart/templates/service.yaml

20 lines
497 B
YAML
Raw Normal View History

2026-07-24 00:15:19 +00:00
apiVersion: v1
kind: Service
metadata:
2026-07-24 11:17:10 +00:00
name: {{ include "k8s-pulse.fullname" . }}
labels:
{{- include "k8s-pulse.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
2026-07-24 00:15:19 +00:00
spec:
type: {{ .Values.service.type }}
ports:
2026-07-24 11:17:10 +00:00
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
2026-07-24 00:15:19 +00:00
selector:
2026-07-24 11:17:10 +00:00
{{- include "k8s-pulse.selectorLabels" . | nindent 4 }}