fix webui-service

This commit is contained in:
duhow 2024-02-23 23:58:10 +01:00
parent 9ee64d88c6
commit 8eb6a68fcf
No known key found for this signature in database

View File

@ -4,6 +4,10 @@ metadata:
name: {{ include "open-webui.name" . }} name: {{ include "open-webui.name" . }}
labels: labels:
{{- include "open-webui.labels" . | nindent 4 }} {{- include "open-webui.labels" . | nindent 4 }}
{{- with .Values.webui.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
selector: selector:
{{- include "open-webui.selectorLabels" . | nindent 4 }} {{- include "open-webui.selectorLabels" . | nindent 4 }}
@ -11,6 +15,7 @@ spec:
type: {{ .type }} type: {{ .type }}
ports: ports:
- protocol: TCP - protocol: TCP
name: http
port: {{ .port }} port: {{ .port }}
targetPort: http targetPort: http
{{- if .nodePort }} {{- if .nodePort }}