From f79ab66d35ad07a162e0bef8374d21a65b1e802e Mon Sep 17 00:00:00 2001 From: coutug Date: Tue, 19 Mar 2024 15:45:13 -0400 Subject: [PATCH] fix helper --- charts/substreams-sink/Chart.yaml | 2 +- charts/substreams-sink/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/substreams-sink/Chart.yaml b/charts/substreams-sink/Chart.yaml index 847b77c..c8181ce 100644 --- a/charts/substreams-sink/Chart.yaml +++ b/charts/substreams-sink/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.1 +version: 1.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/substreams-sink/templates/_helpers.tpl b/charts/substreams-sink/templates/_helpers.tpl index 479f72a..eef64e1 100644 --- a/charts/substreams-sink/templates/_helpers.tpl +++ b/charts/substreams-sink/templates/_helpers.tpl @@ -14,7 +14,7 @@ If release name contains chart name it will be used as a full name. {{- if .Values.fullnameOverride }} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} {{- else if .Values.nameOverride }} -{{- $baseName := default .Chart.Name .Values.nameOverride }} +{{- $name := default .Chart.Name .Values.nameOverride }} {{- else }} {{- $name := .Release.Name }} {{- if and .Values.sinkType (not .Values.fullnameOverride) }}