blob: 51a8a55c7b75efb0d7b3146d3c5ccac6048a1a94 [file] [log] [blame]
{{- if and (eq .Values.service.type "LoadBalancer") (.Values.ingress.enabled) }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "excalidraw.fullname" . }}
labels:
{{- include "excalidraw.labels" . | nindent 4 }}
spec:
type: LoadBalancer
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "excalidraw.selectorLabels" . | nindent 4 }}
{{- end }}