Skip to content

Commit

Permalink
fix: use versioned helpers from postgresql chart
Browse files Browse the repository at this point in the history
Bitnaming follows the helm recommendation to version template helpers.
  • Loading branch information
cc-ju committed Oct 6, 2023
1 parent 8a9272b commit 21d6bf4
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 @@ -77,7 +77,7 @@ Create a default fully qualified app name for the postgres requirement.
*/}}
{{- define "habit.postgresql.fullname" -}}
{{- $postgresContext := dict "Values" .Values.postgresql "Release" .Release "Chart" (dict "Name" "postgresql") -}}
{{ template "postgresql.primary.fullname" $postgresContext }}
{{ template "postgresql.v1.primary.fullname" $postgresContext }}
{{- end -}}

{{/*
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 @@ -77,7 +77,7 @@ Create a default fully qualified app name for the postgres requirement.
*/}}
{{- define "track.postgresql.fullname" -}}
{{- $postgresContext := dict "Values" .Values.postgresql "Release" .Release "Chart" (dict "Name" "postgresql") -}}
{{ template "postgresql.primary.fullname" $postgresContext }}
{{ template "postgresql.v1.primary.fullname" $postgresContext }}
{{- end -}}

{{/*
Expand Down

0 comments on commit 21d6bf4

Please sign in to comment.