diff --git a/charts/opensearch-cluster/templates/_helpers.tpl b/charts/opensearch-cluster/templates/_helpers.tpl index 61e3a114..920f4a53 100644 --- a/charts/opensearch-cluster/templates/_helpers.tpl +++ b/charts/opensearch-cluster/templates/_helpers.tpl @@ -6,7 +6,7 @@ Expand the name of the chart. {{- end }} {{- define "opensearch-cluster.cluster-name" -}} -{{- default .Values.cluster.name .Release.Name | trunc 63 | trimSuffix "-" }} +{{- default .Release.Name .Values.cluster.name | trunc 63 | trimSuffix "-" }} {{- end }} {{/*