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

Commit 18aeef7

Browse files
authored
Fix new line problem on database_host value (#14)
* Fix new line problem * Bump Chart version * Add auth variable * Revert back
1 parent 1bcfb8a commit 18aeef7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: backstage
33
description: A helm chart for deploying Backstage
4-
version: 0.1.3
4+
version: 0.1.4
55
appVersion: "v1.7.0"
66
kubeVersion: ">= 1.19.0-0"
77
home: https://github.com/redhat-developer/helm-backstage

charts/backstage/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ Return the Postgres Database hostname
121121
*/}}
122122
{{- define "backstage.postgresql.host" -}}
123123
{{- if .Values.postgres.database_host }}
124-
{{ .Values.postgres.database_host }}
124+
{{- .Values.postgres.database_host }}
125125
{{- else -}}
126-
{{ include "backstage.postgresql.name" . }}.{{ .Release.Namespace }}.svc
126+
{{- include "backstage.postgresql.name" . }}.{{ .Release.Namespace }}.svc
127127
{{- end -}}
128128
{{- end -}}
129129

0 commit comments

Comments
 (0)