File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 backend :
5050 {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
5151 service :
52- name : {{ $fullName }}-headless
52+ name : {{ $fullName }}
5353 port :
5454 number : {{ $svcPort }}
5555 {{- else }}
Original file line number Diff line number Diff line change 1+ {{- if and (eq .Values.service.type "LoadBalancer") (.Values.ingress.enabled) }}
12apiVersion : v1
23kind : Service
34metadata :
4- name : {{ include "emby.fullname" . }}-headless
5+ name : {{ include "emby.fullname" . }}-LB
56 labels :
67 {{- include "emby.labels" . | nindent 4 }}
78spec :
8- {{- if eq .Values.service.type "LoadBalancer" }}
9- type : ClusterIP
10- {{- else }}
11- type : {{ .Values.service.type }}
12- {{- end }}
9+ type : LoadBalancer
1310 ports :
1411 - port : {{ .Values.service.port }}
1512 targetPort : http
1613 protocol : TCP
1714 name : http
1815 selector :
1916 {{- include "emby.selectorLabels" . | nindent 4 }}
17+ {{- end }}
Original file line number Diff line number Diff line change 1- {{- if and (eq .Values.service.type "LoadBalancer") (.Values.ingress.enabled) }}
21apiVersion : v1
32kind : Service
43metadata :
54 name : {{ include "emby.fullname" . }}
65 labels :
76 {{- include "emby.labels" . | nindent 4 }}
87spec :
9- type : LoadBalancer
8+ {{- if and (eq .Values.service.type "LoadBalancer") (.Values.ingress.enabled) }}
9+ type : ClusterIP
10+ {{- else }}
11+ type : {{ .Values.service.type }}
12+ {{- end }}
1013 ports :
1114 - port : {{ .Values.service.port }}
1215 targetPort : http
1316 protocol : TCP
1417 name : http
1518 selector :
1619 {{- include "emby.selectorLabels" . | nindent 4 }}
17- {{- end }}
You can’t perform that action at this time.
0 commit comments