From 35adfd74e7a30e5fd25e8ee1f4eebee95eca0df4 Mon Sep 17 00:00:00 2001 From: Ashish Jaiswal Date: Tue, 20 Aug 2024 15:54:08 +0530 Subject: [PATCH] need kind in ingressroute object --- .../templates/prometheus-ingressroute.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/argocd-helm-charts/prometheus-linuxaid/templates/prometheus-ingressroute.yaml b/argocd-helm-charts/prometheus-linuxaid/templates/prometheus-ingressroute.yaml index 343358df8..07a7c72a2 100644 --- a/argocd-helm-charts/prometheus-linuxaid/templates/prometheus-ingressroute.yaml +++ b/argocd-helm-charts/prometheus-linuxaid/templates/prometheus-ingressroute.yaml @@ -7,10 +7,12 @@ spec: entryPoints: - websecure routes: - - match: Host(`{{ .Values.prometheus.server }}`) && PathPrefix(`/{{ .Values.customerid }}`) + - kind: Rule + match: Host(`{{ .Values.prometheus.server }}`) && PathPrefix(`/{{ .Values.customerid }}`) priority: 10 services: - - name: prometheus-main + - kind: Service + name: prometheus-main namespace: monitoring-{{ .Values.customerid }} passHostHeader: true port: web