From d556d65279f800db128ed547a96707bb25649b84 Mon Sep 17 00:00:00 2001 From: "filippo.merante" Date: Thu, 1 Sep 2022 17:21:25 +0200 Subject: [PATCH] Removed deprecation annotation ingress and added ingressclassname --- values/kube-prometheus-stack.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/values/kube-prometheus-stack.yml b/values/kube-prometheus-stack.yml index 1728cea..6130fef 100644 --- a/values/kube-prometheus-stack.yml +++ b/values/kube-prometheus-stack.yml @@ -18,9 +18,11 @@ grafana: ingress: ## If true, Grafana Ingress will be created ## - enabled: true + enabled: true + %{~ if trimspace(grafana_ingress_class) != "" ~} + ingressClassName: ${grafana_ingress_class} + %{~ endif ~} annotations: - kubernetes.io/ingress.class: ${grafana_ingress_class} %{~ if trimspace(grafana_cluster_issuer_name) != "" ~} cert-manager.io/cluster-issuer: "${grafana_cluster_issuer_name}" acme.cert-manager.io/http01-edit-in-place: "true"