Skip to content

Commit

Permalink
fix: helper fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed May 5, 2024
1 parent 8e75c06 commit d26501b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/strapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.2
version: 0.2.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/strapi/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create chart name and version as used by the chart label.
{{- end }}
{{- end }}

{{- define "strapi.internalDatabaseUrlReplica"-}}
{{- define "strapi.internalDatabaseUrlReplica" -}}
{{- if eq .Values.postgresql.architecture "replication" }}
{{- printf "%s%s%s%s%s%s%s%s" "postgresql://" .Values.postgresql.auth.username ":" .Values.postgresql.auth.password "@" .Release.Name "-postgresql-read:5432/" .Values.postgresql.auth.database }}
{{- end }}
Expand Down

0 comments on commit d26501b

Please sign in to comment.