27 lines
643 B
YAML
27 lines
643 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
{{- if .Values.service.annotations }}
|
|
annotations:
|
|
{{ toYaml .Values.service.annotations | indent 4 }}
|
|
{{- end }}
|
|
name: {{ template "tatort.fullname" . }}
|
|
labels:
|
|
app: {{ template "tatort.name" . }}
|
|
chart: {{ template "tatort.chart" . }}
|
|
component: tatort
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: 4173
|
|
protocol: TCP
|
|
name: npm
|
|
selector:
|
|
app: {{ template "tatort.name" . }}
|
|
component: tatort
|
|
release: {{ .Release.Name }}
|
|
|