feat: Support for podLabels

This commit is contained in:
Mads Brouer 2024-12-05 11:57:31 +01:00
parent 2ef9234739
commit de66118c42
4 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,9 @@ spec:
metadata: metadata:
labels: labels:
{{- include "open-webui.labels" . | nindent 8 }} {{- include "open-webui.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -36,6 +36,7 @@ clusterDomain: cluster.local
annotations: {} annotations: {}
podAnnotations: {} podAnnotations: {}
podLabels: {}
replicaCount: 1 replicaCount: 1
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui # -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui
image: image:

View File

@ -17,6 +17,9 @@ spec:
metadata: metadata:
labels: labels:
{{- include "pipelines.labels" . | nindent 8 }} {{- include "pipelines.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -5,6 +5,7 @@ clusterDomain: cluster.local
annotations: {} annotations: {}
podAnnotations: {} podAnnotations: {}
podLabels: {}
replicaCount: 1 replicaCount: 1
image: image:
repository: ghcr.io/open-webui/pipelines repository: ghcr.io/open-webui/pipelines