1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-22 22:09:23 -05:00
invidious/kubernetes/templates/service.yaml

21 lines
518 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: {{ template "invidious.fullname" . }}
labels:
app: {{ template "invidious.name" . }}
chart: {{ .Chart.Name }}
release: {{ .Release.Name }}
spec:
2020-09-05 16:46:51 -04:00
type: {{ .Values.service.type }}
ports:
- name: http
2020-09-05 16:46:51 -04:00
port: {{ .Values.service.port }}
targetPort: 3000
selector:
app: {{ template "invidious.name" . }}
release: {{ .Release.Name }}
2020-09-05 16:46:51 -04:00
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}