From e8fc1ed87859da73af233708875d64604e86444e Mon Sep 17 00:00:00 2001 From: Max Cai Date: Wed, 18 Dec 2024 20:54:40 -0500 Subject: [PATCH] make the gha-runner-scale-set.scale-set-name same as fullnameOverride --- charts/gha-runner-scale-set/templates/_helpers.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/gha-runner-scale-set/templates/_helpers.tpl b/charts/gha-runner-scale-set/templates/_helpers.tpl index 0aaa221b..d2b6f19b 100644 --- a/charts/gha-runner-scale-set/templates/_helpers.tpl +++ b/charts/gha-runner-scale-set/templates/_helpers.tpl @@ -11,8 +11,12 @@ gha-rs {{- end }} {{- define "gha-runner-scale-set.scale-set-name" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride -}} +{{- else -}} {{ .Values.runnerScaleSetName | default .Release.Name }} {{- end }} +{{- end }} {{/* Create a default fully qualified app name.