From f2dec2e7d31301db19fc2d2b4e93e42eca7d1938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vit=C3=B3ria=20Ortega?= Date: Wed, 14 Aug 2024 17:19:41 -0300 Subject: [PATCH] add(helm): commonLabels to deployment (#35) --- deploy/helm/charts/loki-rule-operator/Chart.yaml | 2 +- .../helm/charts/loki-rule-operator/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/helm/charts/loki-rule-operator/Chart.yaml b/deploy/helm/charts/loki-rule-operator/Chart.yaml index a56af3b..8b5367e 100644 --- a/deploy/helm/charts/loki-rule-operator/Chart.yaml +++ b/deploy/helm/charts/loki-rule-operator/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.9.0" +version: "0.9.1" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/deploy/helm/charts/loki-rule-operator/templates/deployment.yaml b/deploy/helm/charts/loki-rule-operator/templates/deployment.yaml index f85c50b..919f09d 100644 --- a/deploy/helm/charts/loki-rule-operator/templates/deployment.yaml +++ b/deploy/helm/charts/loki-rule-operator/templates/deployment.yaml @@ -19,6 +19,9 @@ spec: {{- end }} labels: {{- include "loki-rule-operator.selectorLabels" . | nindent 8 }} + {{- with .Values.commonLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: