Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Fix new line problem on database_host value (#14)
Browse files Browse the repository at this point in the history
* Fix new line problem

* Bump Chart version

* Add auth variable

* Revert back
  • Loading branch information
winggundamth authored Nov 16, 2022
1 parent 1bcfb8a commit 18aeef7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/backstage/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: backstage
description: A helm chart for deploying Backstage
version: 0.1.3
version: 0.1.4
appVersion: "v1.7.0"
kubeVersion: ">= 1.19.0-0"
home: https://github.com/redhat-developer/helm-backstage
Expand Down
4 changes: 2 additions & 2 deletions charts/backstage/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ Return the Postgres Database hostname
*/}}
{{- define "backstage.postgresql.host" -}}
{{- if .Values.postgres.database_host }}
{{ .Values.postgres.database_host }}
{{- .Values.postgres.database_host }}
{{- else -}}
{{ include "backstage.postgresql.name" . }}.{{ .Release.Namespace }}.svc
{{- include "backstage.postgresql.name" . }}.{{ .Release.Namespace }}.svc
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit 18aeef7

Please sign in to comment.