webui-service.yaml 443 Bytes
Newer Older
1
2
3
apiVersion: v1
kind: Service
metadata:
duhow's avatar
duhow committed
4
  name: {{ include "open-webui.name" . }}
duhow's avatar
duhow committed
5
6
  labels:
    {{- include "open-webui.labels" . | nindent 4 }}
7
8
spec:
  selector:
duhow's avatar
duhow committed
9
10
11
    {{- include "open-webui.selectorLabels" . | nindent 4 }}
{{- with .Values.webui.service }}
  type: {{ .type }}
12
  ports:
duhow's avatar
duhow committed
13
14
15
16
17
18
19
  - protocol: TCP
    port: {{ .port }}
    targetPort: {{ .containerPort }}
    {{- if .nodePort }}
    nodePort: {{ .nodePort }}
    {{- end }}
{{- end }}