blob: 51a8a55c7b75efb0d7b3146d3c5ccac6048a1a94 [file] [log] [blame]
gio5449e272025-07-23 13:14:01 +04001{{- if and (eq .Values.service.type "LoadBalancer") (.Values.ingress.enabled) }}
2apiVersion: v1
3kind: Service
4metadata:
5 name: {{ include "excalidraw.fullname" . }}
6 labels:
7 {{- include "excalidraw.labels" . | nindent 4 }}
8spec:
9 type: LoadBalancer
10 ports:
11 - port: {{ .Values.service.port }}
12 targetPort: http
13 protocol: TCP
14 name: http
15 selector:
16 {{- include "excalidraw.selectorLabels" . | nindent 4 }}
17{{- end }}