diff --git a/helm-charts/html-db/Chart.yaml b/helm-charts/html-db/Chart.yaml
index 02c39a8..5fed2dd 100644
--- a/helm-charts/html-db/Chart.yaml
+++ b/helm-charts/html-db/Chart.yaml
@@ -2,7 +2,7 @@ apiVersion: v2
name: html-db
description: This Helm chart deploy a basic html application using a relational database as backend.
type: application
-version: 1.0.0
+version: 1.0.1
maintainers:
- name: falltrades
url: https://falltrades.github.io/engineering
diff --git a/helm-charts/html-db/README.md b/helm-charts/html-db/README.md
index 4665926..7542fe2 100644
--- a/helm-charts/html-db/README.md
+++ b/helm-charts/html-db/README.md
@@ -1,6 +1,6 @@
# html-db
- 
+ 
This Helm chart deploy a basic html application using a relational database as backend.
diff --git a/helm-charts/html-db/templates/web/ingress.yaml b/helm-charts/html-db/templates/web/ingress.yaml
index 86160d5..6efd45d 100644
--- a/helm-charts/html-db/templates/web/ingress.yaml
+++ b/helm-charts/html-db/templates/web/ingress.yaml
@@ -7,7 +7,7 @@ metadata:
{{- toYaml .Values.ingress.annotations | nindent 4 }}
spec:
ingressClassName: {{ .Values.ingress.className }}
- {{- if .Values.ingress.tls.enabled }}
+ {{- if and .Values.ingress.host .Values.ingress.tls.enabled }}
tls:
- hosts:
- {{ .Values.ingress.host | quote }}