diff --git a/stable/artifactory-ha/CHANGELOG.md b/stable/artifactory-ha/CHANGELOG.md index de7d49941..7b3936f90 100644 --- a/stable/artifactory-ha/CHANGELOG.md +++ b/stable/artifactory-ha/CHANGELOG.md @@ -1,6 +1,9 @@ # JFrog Artifactory-ha Chart Changelog All changes to this chart will be documented in this file +## [107.84.13] - June 11, 2024 +* Fix incorrect capture group in helper function defining chart version + ## [107.84.12] - May 20, 2024 * Added image section for `initContainers` instead of `initContainerImage` * Renamed `router.image.imagePullPolicy` to `router.image.pullPolicy` diff --git a/stable/artifactory-ha/Chart.yaml b/stable/artifactory-ha/Chart.yaml index 6c3434742..adf5c3507 100644 --- a/stable/artifactory-ha/Chart.yaml +++ b/stable/artifactory-ha/Chart.yaml @@ -1,7 +1,7 @@ annotations: artifactoryServiceVersion: 7.84.16 apiVersion: v2 -appVersion: 7.84.12 +appVersion: 7.84.13 dependencies: - condition: postgresql.enabled name: postgresql diff --git a/stable/artifactory-ha/templates/_helpers.tpl b/stable/artifactory-ha/templates/_helpers.tpl index 467d4e7dd..fe8a244d4 100644 --- a/stable/artifactory-ha/templates/_helpers.tpl +++ b/stable/artifactory-ha/templates/_helpers.tpl @@ -321,8 +321,9 @@ Return the proper artifactory chart image names Return the proper artifactory app version */}} {{- define "artifactory-ha.app.version" -}} -{{- $image := split ":" ((include "artifactory-ha.getImageInfoByValue" (list . "artifactory")) | toString) -}} -{{- $tag := $image._1 -}} +{{- $image := (include "artifactory-ha.getImageInfoByValue" (list . "artifactory")) | toString -}} +{{- $parts := splitList ":" $image -}} +{{- $tag := index $parts (sub (len $parts) 1) -}} {{- printf "%s" $tag -}} {{- end -}}