Skip to content

Commit

Permalink
try different syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davhdavh authored Aug 13, 2023
1 parent d67704f commit 1ba2200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traefik/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Renders a complete tree, even values that contains template.
{{- end -}}

{{- define "imageVersion" -}}
{{ default $.Chart.AppVersion $.Values.image.tag | split "@" | mustFirst }}
{{ (split (default $.Chart.AppVersion $.Values.image.tag) "@")._0 }}
{{- end -}}

{{- define "isV3" -}}
Expand Down

0 comments on commit 1ba2200

Please sign in to comment.