From db28fe74831d6bbc8b527cf8be9042fc8052dd65 Mon Sep 17 00:00:00 2001
From: Akash LM <akashnihas@gmail.com>
Date: Mon, 19 Feb 2024 16:20:46 +0530
Subject: [PATCH] updated dashboard ingress.yaml

---
 charts/tekton/Chart.yaml                       | 2 +-
 charts/tekton/templates/dashboard/ingress.yaml | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/charts/tekton/Chart.yaml b/charts/tekton/Chart.yaml
index b8235f7..8db92e7 100644
--- a/charts/tekton/Chart.yaml
+++ b/charts/tekton/Chart.yaml
@@ -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.1.8
+version: 0.1.9
 
 # 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
diff --git a/charts/tekton/templates/dashboard/ingress.yaml b/charts/tekton/templates/dashboard/ingress.yaml
index 5f10e02..cb580a5 100644
--- a/charts/tekton/templates/dashboard/ingress.yaml
+++ b/charts/tekton/templates/dashboard/ingress.yaml
@@ -22,7 +22,9 @@ spec:
   {{- end }}
   {{- end }}
   rules:
-    - host:
+    {{- range .Values.dashboard.ingress.hosts }}
+    - host: {{ . }}
+    {{- end }}
       http:
         paths:
         - path: /