Skip to content

Commit

Permalink
chore: pick up the correct init image tag in habit and track Helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
romansey committed Mar 25, 2022
1 parent 27164c1 commit 22b8dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/habit/helm/habit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Return the proper habitcentric init image name
{{- define "habit.init.image" -}}
{{- $registryName := .Values.init.image.registry -}}
{{- $repositoryName := .Values.init.image.repository -}}
{{- $tag := .Values.image.tag | toString -}}
{{- $tag := .Values.init.image.tag | toString -}}
{{/*
Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
but Helm 2.9 and 2.10 doesn't support it, so we need to implement this if-else logic.
Expand Down
2 changes: 1 addition & 1 deletion services/track/helm/track/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Return the proper habitcentric init image name
{{- define "track.init.image" -}}
{{- $registryName := .Values.init.image.registry -}}
{{- $repositoryName := .Values.init.image.repository -}}
{{- $tag := .Values.image.tag | toString -}}
{{- $tag := .Values.init.image.tag | toString -}}
{{/*
Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
but Helm 2.9 and 2.10 doesn't support it, so we need to implement this if-else logic.
Expand Down

0 comments on commit 22b8dec

Please sign in to comment.