apiVersion: v1 kind: Service metadata: name: {{ template "invidious.fullname" . }} labels: {{- include "invidious.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} {{- with .Values.service.loadBalancerIP }} loadBalancerIP: {{ . }} {{- end }} ports: - name: http port: {{ .Values.service.port }} targetPort: http protocol: TCP selector: {{- include "invidious.selectorLabels" . | nindent 4 }}