From e2e5c683e4651549da712dafe4a1cdd8f2a57166 Mon Sep 17 00:00:00 2001 From: Mondo Diaz Date: Fri, 17 Oct 2025 07:55:51 -0500 Subject: [PATCH] Fix Helm template error: update _helpers.tpl to use app instead of api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed .Values.api.env.databaseUrl to .Values.app.env.databaseUrl - This aligns with the unified architecture where api and frontend are combined into a single app - Chart now passes helm lint successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- helm/warehouse13/templates/_helpers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/warehouse13/templates/_helpers.tpl b/helm/warehouse13/templates/_helpers.tpl index 9845dad..463a70b 100644 --- a/helm/warehouse13/templates/_helpers.tpl +++ b/helm/warehouse13/templates/_helpers.tpl @@ -63,8 +63,8 @@ Create the name of the service account to use PostgreSQL connection string */}} {{- define "warehouse13.postgresUrl" -}} -{{- if .Values.api.env.databaseUrl }} -{{- .Values.api.env.databaseUrl }} +{{- if .Values.app.env.databaseUrl }} +{{- .Values.app.env.databaseUrl }} {{- else }} {{- printf "postgresql://%s:%s@warehouse13-postgres:%d/%s" .Values.postgres.auth.username .Values.postgres.auth.password (.Values.postgres.service.port | int) .Values.postgres.auth.database }} {{- end }}