add labels and selectors

This commit is contained in:
duhow 2024-02-19 22:23:36 +01:00
parent cbaada1410
commit 0b7f183a03
No known key found for this signature in database
7 changed files with 75 additions and 23 deletions

View file

@ -3,9 +3,11 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "open-webui.name" . }}
{{- if .Values.webui.ingress.annotations }}
labels:
{{- include "open-webui.labels" . | nindent 4 }}
{{- with .Values.webui.ingress.annotations }}
annotations:
{{ toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules: