From 4edf8c0a1dd78621b5aa2e5f3f4f199e325744be Mon Sep 17 00:00:00 2001 From: cluttrdev Date: Mon, 19 Feb 2024 16:10:58 +0100 Subject: [PATCH] chore: Support helm chart podLabels value --- deploy/helm/gitlab-exporter/Chart.yaml | 2 +- deploy/helm/gitlab-exporter/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/helm/gitlab-exporter/Chart.yaml b/deploy/helm/gitlab-exporter/Chart.yaml index 00901d5..b740c91 100644 --- a/deploy/helm/gitlab-exporter/Chart.yaml +++ b/deploy/helm/gitlab-exporter/Chart.yaml @@ -4,6 +4,6 @@ name: gitlab-exporter description: An exporter for GitLab analytics data. type: application -version: 1.2.0 +version: 1.2.1 appVersion: "v0.6.0" diff --git a/deploy/helm/gitlab-exporter/templates/deployment.yaml b/deploy/helm/gitlab-exporter/templates/deployment.yaml index c51e3b2..c3b3495 100644 --- a/deploy/helm/gitlab-exporter/templates/deployment.yaml +++ b/deploy/helm/gitlab-exporter/templates/deployment.yaml @@ -17,6 +17,9 @@ spec: {{- end }} labels: {{- include "gitlab-exporter.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ include "gitlab-exporter.serviceAccountName" . }} securityContext: