Skip to content

Commit 5473e3f

Browse files
authored
fix: render ingress host also when using tls. (#167)
* fix: render ingress host also when using tls. Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se> * Fix README Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se> --------- Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
1 parent 36f7e34 commit 5473e3f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ sources:
3838
# This is the chart version. This version number should be incremented each time you make changes
3939
# to the chart and its templates, including the app version.
4040
# Versions are expected to follow Semantic Versioning (https://semver.org/)
41-
version: 1.9.0
41+
version: 1.9.1

charts/backstage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Backstage Helm Chart
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage)
5-
![Version: 1.9.0](https://img.shields.io/badge/Version-1.9.0-informational?style=flat-square)
5+
![Version: 1.9.1](https://img.shields.io/badge/Version-1.9.1-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying a Backstage application

charts/backstage/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ spec:
2323
{{- if .Values.ingress.tls.enabled }}
2424
tls:
2525
- hosts:
26-
- {{ .Values.ingress.host }}
27-
secretName: {{ .Values.ingress.tls.secretName }}
26+
- {{ include "common.tplvalues.render" ( dict "value" .Values.ingress.host "context" $ ) }}
27+
secretName: {{ include "common.tplvalues.render" ( dict "value" .Values.ingress.tls.secretName "context" $ ) }}
2828
{{- end }}
2929
rules:
3030
- host: {{ include "common.tplvalues.render" ( dict "value" .Values.ingress.host "context" $ ) }}

0 commit comments

Comments
 (0)