diff --git a/charts/backend/templates/templates/_globals.tpl b/charts/backend/templates/templates/_globals.tpl index 059e358..9ce3ee5 100755 --- a/charts/backend/templates/templates/_globals.tpl +++ b/charts/backend/templates/templates/_globals.tpl @@ -42,7 +42,7 @@ {{- end -}} {{- define "global.imageRepository" -}} - {{- $prefix := .Values.global.dockerRegistryPrefix | default "" -}} - {{- $name := .Chart.Name -}} + {{- $prefix := .Values.global.dockerRegistryPrefix | default "registry.co-work.ru/" -}} + {{- $name := .Chart.Name | default "unknown" -}} {{- printf "%s%s" $prefix $name -}} -{{- end -}} +{{- end -}} \ No newline at end of file