mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
20 lines
518 B
YAML
20 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 }}
|