更新模板中函数备注信息

This commit is contained in:
2025-03-13 15:23:42 +08:00
parent 136d42a31e
commit 6754237844
13 changed files with 103 additions and 37 deletions
+4 -3
View File
@@ -1,5 +1,5 @@
{{/*
K8s DNS 63
*/}}
{{- define "common.names.name" -}}
@@ -7,7 +7,8 @@
{{- end -}}
{{/*
K8s DNS 63
*/}}
{{- define "common.names.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
@@ -50,7 +51,7 @@
{{- end -}}
{{/*
namespace
Namespace
*/}}
{{- define "common.names.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}