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