fix name helper
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 24s

This commit is contained in:
2025-05-24 00:54:42 -05:00
parent 884cae31a3
commit ab89f723a7
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
Expand the name of the chart.
*/}}
{{- define "cluster.name" -}}
{{- if .Values.nameOverride }}
{{- if not (empty .Values.nameOverride ) }}
{{- .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-postgresql-%s" .Release.Name ((semver .Values.cluster.image.tag).Major | toString) | trunc 63 | trimSuffix "-" -}}