diff --git a/kubernetes/helm/templates/webui-service.yaml b/kubernetes/helm/templates/webui-service.yaml index bfae9294d..58da030d3 100644 --- a/kubernetes/helm/templates/webui-service.yaml +++ b/kubernetes/helm/templates/webui-service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "open-webui.name" . }} labels: {{- include "open-webui.labels" . | nindent 4 }} + {{- with .Values.webui.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: selector: {{- include "open-webui.selectorLabels" . | nindent 4 }} @@ -11,6 +15,7 @@ spec: type: {{ .type }} ports: - protocol: TCP + name: http port: {{ .port }} targetPort: http {{- if .nodePort }}