fix: add missing name template var

This commit is contained in:
Tommy 2024-04-13 23:42:18 +02:00
parent d82f5df53f
commit e62462e790
No known key found for this signature in database
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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).