From 62991f21ae8e58e67979f9dea1d3dffa824cdde8 Mon Sep 17 00:00:00 2001 From: bradsoper <107413559+bradsoper@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:40:44 -0800 Subject: [PATCH] Update ingress.tpl --- pkg/app/dbs/tmpl/prom/prometheus/ingress.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/app/dbs/tmpl/prom/prometheus/ingress.tpl b/pkg/app/dbs/tmpl/prom/prometheus/ingress.tpl index 33b212aa..002d385b 100644 --- a/pkg/app/dbs/tmpl/prom/prometheus/ingress.tpl +++ b/pkg/app/dbs/tmpl/prom/prometheus/ingress.tpl @@ -18,7 +18,7 @@ metadata: {{$k}}: "{{$v}}" {{- end }} spec: - ingressClassName: nginx + ingressClassName: {{ .Spec.Networking.Ingress.IngressClassName }} {{- if and ( isTrue .Spec.Networking.HTTPS.Enabled ) (ne .Spec.Networking.HTTPS.CertSecret "") }} tls: - hosts: @@ -35,4 +35,4 @@ spec: service: name: {{ .Spec.Dbs.Prom.SvcName }} port: - number: {{ .Spec.Dbs.Prom.Port }} \ No newline at end of file + number: {{ .Spec.Dbs.Prom.Port }}