From 757a935cc703e16f8be8f0afd75b287643cb4f6e Mon Sep 17 00:00:00 2001
From: Mikey032 <26899585+Mikey032@users.noreply.github.com>
Date: Wed, 4 Sep 2024 15:17:47 +0200
Subject: [PATCH] Use gha-runner-scale-set-controller.chart instead of
 .Chart.Version

---
 .../gha-runner-scale-set-controller/templates/deployment.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/charts/gha-runner-scale-set-controller/templates/deployment.yaml b/charts/gha-runner-scale-set-controller/templates/deployment.yaml
index 66b9a4b513..a3dc33eee5 100644
--- a/charts/gha-runner-scale-set-controller/templates/deployment.yaml
+++ b/charts/gha-runner-scale-set-controller/templates/deployment.yaml
@@ -25,7 +25,7 @@ spec:
       labels:
         app.kubernetes.io/part-of: gha-rs-controller
         app.kubernetes.io/component: controller-manager
-        app.kubernetes.io/version: {{ .Chart.Version }}
+        app.kubernetes.io/version: {{ include "gha-runner-scale-set-controller.chart" . }}
         {{- include "gha-runner-scale-set-controller.selectorLabels" . | nindent 8 }}
         {{- with .Values.podLabels }}
           {{- toYaml . | nindent 8 }}