From 4dee6ca72ec0fceadc4616b35a313b6723e7fea8 Mon Sep 17 00:00:00 2001 From: Roman Willi Date: Wed, 23 Apr 2025 16:14:03 +0200 Subject: [PATCH] Fix invalid image name for digest in template function of `spire-lib` (#569) Signed-off-by: Roman Willi --- charts/spire/charts/spire-lib/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/spire/charts/spire-lib/templates/_helpers.tpl b/charts/spire/charts/spire-lib/templates/_helpers.tpl index 8e3684a..fab4700 100644 --- a/charts/spire/charts/spire-lib/templates/_helpers.tpl +++ b/charts/spire/charts/spire-lib/templates/_helpers.tpl @@ -53,7 +53,7 @@ {{- $repo := .image.repository }} {{- $tag := .image.tag | toString }} {{- if eq (substr 0 7 $tag) "sha256:" }} -{{- printf "%s/%s@%s" $registry $repo $tag | quote }} +{{- printf "%s%s@%s" $registry $repo $tag | quote }} {{- else if .appVersion }} {{- $appVersion := .appVersion }} {{- if and (hasKey . "ubi") (dig "openshift" false .global) }}