diff --git a/charts/authelia/Chart.yaml b/charts/authelia/Chart.yaml index 2e262a5..d7e5b1c 100644 --- a/charts/authelia/Chart.yaml +++ b/charts/authelia/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: authelia -version: 0.4.14 +version: 0.4.15 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 0f21e22..8ee1bf3 100644 --- a/charts/authelia/templates/_helpers.tpl +++ b/charts/authelia/templates/_helpers.tpl @@ -5,7 +5,11 @@ 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:" }} + {{- printf "%s/%s@%s" $registryName $repositoryName $tag -}} + {{- else -}} {{- printf "%s/%s:%s" $registryName $repositoryName $tag -}} + {{- end -}} {{- end -}} {{/*