Skip to content

Commit

Permalink
set as version value after the last colon
Browse files Browse the repository at this point in the history
  • Loading branch information
malamin committed Jun 11, 2024
1 parent 96570b8 commit 5abd8d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions stable/artifactory-ha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory-ha/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions stable/artifactory-ha/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

Expand Down

0 comments on commit 5abd8d9

Please sign in to comment.