feat(open-webui): support extraLabels for custom metadata in Ingress

This commit is contained in:
jackhauGR 2025-05-08 17:31:58 +01:00
parent 30918f40a0
commit 9f439a1629
2 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,9 @@ metadata:
namespace: {{ include "open-webui.namespace" . }}
labels:
{{- include "open-webui.labels" . | nindent 4 }}
{{- with .Values.ingress.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}

View File

@ -181,7 +181,7 @@ managedCertificate:
- chat.example.com # update to your real domain
ingress:
enabled: false
enabled: true
class: ""
# -- Use appropriate annotations for your Ingress controller, e.g., for NGINX:
annotations: {}
@ -199,6 +199,12 @@ ingress:
tls: false
existingSecret: ""
# -- Additional custom labels to add to the Ingress metadata
# Useful for tagging, selecting, or applying policies to the Ingress via labels.
extraLabels: {}
# extraLabels:
# app.kubernetes.io/environment: "staging"
persistence:
enabled: true
size: 2Gi