Fixing issue with gRPC endpoints and multi-stack
Change-Id: Ic63023d9a37c7861611e3c6247ba5bf4e82b2c69
diff --git a/voltha/templates/_helpers.tpl b/voltha/templates/_helpers.tpl
index e8c3443..2e399d3 100644
--- a/voltha/templates/_helpers.tpl
+++ b/voltha/templates/_helpers.tpl
@@ -17,7 +17,7 @@
{{- end -}}
{{/* Create a default fully qualified app name. We truncate at 63 chars because . . . */}}
{{- define "fullname" -}}
-{{- $name := default .Values.global.stack_name .Values.nameOverride -}}
+{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- $fullname := default (printf "%s-%s" .Release.Name $name) .Values.fullNameOverride -}}
{{- $fullname | trunc 63 | trimSuffix "-" -}}
{{- end -}}