Files
charts/tatort/templates/service.yaml
2025-02-28 13:07:32 +01:00

20 lines
504 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "tatort.fullname" . }}
labels:
{{- include "tatort.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.name }}
protocol: TCP
name: {{ .Values.service.name }}
selector:
{{- include "tatort.selectorLabels" . | nindent 4 }}