Fix invalid image name for digest in template function of spire-lib (#569)

Signed-off-by: Roman Willi <[email protected]>
This commit is contained in:
Roman Willi
2025-04-23 07:14:03 -07:00
committed by GitHub
parent ed9fb6a121
commit 4dee6ca72e
@@ -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) }}