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" . }} namespace: {{ include "open-webui.namespace" . }}
labels: labels:
{{- include "open-webui.labels" . | nindent 4 }} {{- include "open-webui.labels" . | nindent 4 }}
{{- with .Values.ingress.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }} {{- with .Values.ingress.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}

View File

@ -181,7 +181,7 @@ managedCertificate:
- chat.example.com # update to your real domain - chat.example.com # update to your real domain
ingress: ingress:
enabled: false enabled: true
class: "" class: ""
# -- Use appropriate annotations for your Ingress controller, e.g., for NGINX: # -- Use appropriate annotations for your Ingress controller, e.g., for NGINX:
annotations: {} annotations: {}
@ -199,6 +199,12 @@ ingress:
tls: false tls: false
existingSecret: "" 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: persistence:
enabled: true enabled: true
size: 2Gi size: 2Gi