From e62462e7902d87aa457b65196eca4f1153c1075f Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 13 Apr 2024 23:42:18 +0200 Subject: [PATCH] fix: add missing name template var --- charts/ntfy-sh/Chart.yaml | 2 +- charts/ntfy-sh/templates/_helpers.tpl | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/charts/ntfy-sh/Chart.yaml b/charts/ntfy-sh/Chart.yaml index 90ce3b8..4cc1c2c 100644 --- a/charts/ntfy-sh/Chart.yaml +++ b/charts/ntfy-sh/Chart.yaml @@ -4,7 +4,7 @@ description: | ntfy lets you send push notifications to your phone or desktop via scripts from any computer appVersion: v2.10.0 type: application -version: 0.2.2 +version: 0.2.3 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/ntfy-sh/templates/_helpers.tpl b/charts/ntfy-sh/templates/_helpers.tpl index 59f7b72..855155a 100644 --- a/charts/ntfy-sh/templates/_helpers.tpl +++ b/charts/ntfy-sh/templates/_helpers.tpl @@ -1,4 +1,12 @@ -# Define a template for the chart's full name. +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "ntfy.name" -}} +{{- .Values.nameOverride | default .Chart.Name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + + {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).