From 75c6a940103840d5e824f812a0955a818ee73c07 Mon Sep 17 00:00:00 2001 From: Mikey Smet <26899585+Mikey032@users.noreply.github.com> Date: Mon, 10 Mar 2025 11:48:30 +0100 Subject: [PATCH] Use gha-runner-scale-set-controller.chart instead of .Chart.Version (#3729) Co-authored-by: Nikola Jokic --- .../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 8973497d..29cdbdd3 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: {{ .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} {{- include "gha-runner-scale-set-controller.selectorLabels" . | nindent 8 }} {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }}