mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-13 10:03:59 +01:00
21 lines
518 B
YAML
21 lines
518 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "invidious.fullname" . }}
|
|
labels:
|
|
app: {{ template "invidious.name" . }}
|
|
chart: {{ .Chart.Name }}
|
|
release: {{ .Release.Name }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- name: http
|
|
port: {{ .Values.service.port }}
|
|
targetPort: 3000
|
|
selector:
|
|
app: {{ template "invidious.name" . }}
|
|
release: {{ .Release.Name }}
|
|
{{- if .Values.service.loadBalancerIP }}
|
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
|
{{- end }}
|