Use gha-runner-scale-set-controller.chart instead of .Chart.Version (#3729)

Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
This commit is contained in:
Mikey Smet 2025-03-10 11:48:30 +01:00 committed by GitHub
parent d8f1a61ab6
commit 75c6a94010
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}