From 2399a2dba18dd626e4925797865b24605385cc3c Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Tue, 22 Nov 2022 13:20:19 +0100
Subject: [PATCH] helm lint

---
 personal-gitlab-exporter/templates/deployment.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/personal-gitlab-exporter/templates/deployment.yaml b/personal-gitlab-exporter/templates/deployment.yaml
index 92fbc23..2ec46c5 100644
--- a/personal-gitlab-exporter/templates/deployment.yaml
+++ b/personal-gitlab-exporter/templates/deployment.yaml
@@ -3,7 +3,9 @@ kind: Deployment
 metadata:
   name: {{ include "personal-gitlab-exporter.fullname" . }}
   labels:
-{{ include "personal-gitlab-exporter.labels" . | indent 4 }}
+  {{- if .Values.labels }}
+  {{ include "personal-gitlab-exporter.labels" . | indent 2 }}
+  {{- end }}
 spec:
   replicas: {{ .Values.replicaCount }}
   selector:
-- 
GitLab