diff --git a/charts/authelia/Chart.yaml b/charts/authelia/Chart.yaml index d7e5b1c..44abf67 100644 --- a/charts/authelia/Chart.yaml +++ b/charts/authelia/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: authelia -version: 0.4.15 +version: 0.4.16 kubeVersion: ">= 1.13.0-0" description: Authelia is a Single Sign-On Multi-Factor portal for web apps type: application diff --git a/charts/authelia/templates/_helpers.tpl b/charts/authelia/templates/_helpers.tpl index 8ee1bf3..2b9b6b0 100644 --- a/charts/authelia/templates/_helpers.tpl +++ b/charts/authelia/templates/_helpers.tpl @@ -5,7 +5,7 @@ Return the proper image name {{- $registryName := default "docker.io" .Values.image.registry -}} {{- $repositoryName := default "authelia/authelia" .Values.image.repository -}} {{- $tag := default .Chart.AppVersion .Values.image.tag | toString -}} - {{- if hasPrefix $tag "sha256:" }} + {{- if hasPrefix "sha256:" $tag }} {{- printf "%s/%s@%s" $registryName $repositoryName $tag -}} {{- else -}} {{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}