From de66118c42cccec56eff1627542134b3e93c8a13 Mon Sep 17 00:00:00 2001 From: Mads Brouer Date: Thu, 5 Dec 2024 11:57:31 +0100 Subject: [PATCH] feat: Support for podLabels --- charts/open-webui/templates/workload-manager.yaml | 3 +++ charts/open-webui/values.yaml | 1 + charts/pipelines/templates/deployment.yaml | 3 +++ charts/pipelines/values.yaml | 1 + 4 files changed, 8 insertions(+) diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index 18a42de..7518c9a 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -24,6 +24,9 @@ spec: metadata: labels: {{- include "open-webui.labels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 61aa7f3..68ef561 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -36,6 +36,7 @@ clusterDomain: cluster.local annotations: {} podAnnotations: {} +podLabels: {} replicaCount: 1 # -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui image: diff --git a/charts/pipelines/templates/deployment.yaml b/charts/pipelines/templates/deployment.yaml index 1948652..89b90d9 100644 --- a/charts/pipelines/templates/deployment.yaml +++ b/charts/pipelines/templates/deployment.yaml @@ -17,6 +17,9 @@ spec: metadata: labels: {{- include "pipelines.labels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/charts/pipelines/values.yaml b/charts/pipelines/values.yaml index a1e02aa..0214826 100644 --- a/charts/pipelines/values.yaml +++ b/charts/pipelines/values.yaml @@ -5,6 +5,7 @@ clusterDomain: cluster.local annotations: {} podAnnotations: {} +podLabels: {} replicaCount: 1 image: repository: ghcr.io/open-webui/pipelines