From 72200890989a61ebb0d8091a19fbc14960cb9501 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Sun, 30 Jul 2023 11:16:14 +0000 Subject: [PATCH] charts/ui: allow setting custom registry We were relying on the custom registry value used for s3gw, but we may want to use a different one. Signed-off-by: Joao Eduardo Luis --- charts/s3gw/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/s3gw/templates/_helpers.tpl b/charts/s3gw/templates/_helpers.tpl index b6dc68a..fc7f8a3 100644 --- a/charts/s3gw/templates/_helpers.tpl +++ b/charts/s3gw/templates/_helpers.tpl @@ -87,7 +87,7 @@ Version helpers for the image tag {{- define "s3gw-ui.image" -}} {{- $tag := default (printf "v%s" .Chart.Version) .Values.ui.imageTag }} {{- $name := default "s3gw/s3gw-ui" .Values.ui.imageName }} -{{- $registry := default "quay.io" .Values.imageRegistry }} +{{- $registry := default "quay.io" .Values.ui.imageRegistry }} {{- printf "%s/%s:%s" $registry $name $tag }} {{- end }}