diff --git a/charts/helm_lib/Chart.yaml b/charts/helm_lib/Chart.yaml index 850caf2..9d1d531 100644 --- a/charts/helm_lib/Chart.yaml +++ b/charts/helm_lib/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 type: library name: deckhouse_lib_helm -version: 1.70.1 +version: 1.70.2 description: "Helm utils template definitions for Deckhouse modules." diff --git a/charts/helm_lib/templates/_application_image.tpl b/charts/helm_lib/templates/_application_image.tpl index be561e4..c1aa9ef 100644 --- a/charts/helm_lib/templates/_application_image.tpl +++ b/charts/helm_lib/templates/_application_image.tpl @@ -4,17 +4,17 @@ {{- $context := index . 0 }} {{- $image := index . 1 | trimAll "\"" }} - {{- $imageDigest := index $context.Runtime.Package.Digests $image }} + {{- $imageDigest := index $context.Application.Package.Digests $image }} {{- if not $imageDigest }} {{- fail (printf "Image %s has no digest" $image) }} {{- end }} - {{- $registryBase := $context.Runtime.Package.Registry.repository }} + {{- $registryBase := $context.Application.Package.Registry.repository }} {{- if not $registryBase }} {{- fail "Registry base is not set" }} {{- end }} - {{- $packageName := $context.Runtime.Package.Name }} + {{- $packageName := $context.Application.Package.Name }} {{- if not $packageName }} {{- fail "Package name is not set" }} {{- end }}