Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

fix: Don't collapse fullname when release name is also trueforge (#703)

Chirag Jain8d8b723273bf
diff --git a/charts/trueforge/Chart.yaml b/charts/trueforge/Chart.yaml
index e268ae7a8..112738df1 100644
--- a/charts/trueforge/Chart.yaml
+++ b/charts/trueforge/Chart.yaml
@@ -4,7 +4,7 @@ description: TrueForge server (API + UI) served from a single container image.
type: application
# version / appVersion are maintained on main (bot chart-release PR or human).
# Publishing is gated by git tag charts/trueforge@<version> (must match version).
-version: "0.2.0-rc.2"
+version: "0.2.0-rc.3"
appVersion: "0.2.0-rc.5"
kubeVersion: ">=1.25.0-0"
home: https://truefoundry.com
diff --git a/charts/trueforge/templates/_helpers.tpl b/charts/trueforge/templates/_helpers.tpl
index bd172fc66..030d7a248 100644
--- a/charts/trueforge/templates/_helpers.tpl
+++ b/charts/trueforge/templates/_helpers.tpl
@@ -7,19 +7,20 @@ Expand the name of the chart.
{{/*
Create a default fully qualified app name.
+
+Always `{release}-{name}` (unless fullnameOverride). The usual Helm
+`contains` collapse is skipped so a parent that dials
+`{{ .Release.Name }}-trueforge` keeps working when the release name
+itself contains "trueforge".
*/}}
{{- define "trueforge.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
-{{- if contains $name .Release.Name }}
-{{- .Release.Name | trunc 63 | trimSuffix "-" }}
-{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
-{{- end }}
{{/*
Chart name and version as used by the chart label.