From e78906dc4d706697d1dc82b303f9aab32b708187 Mon Sep 17 00:00:00 2001 From: Carsten Schafer Date: Fri, 9 Feb 2024 15:33:11 -0500 Subject: [PATCH] Set ingress class name if requested Signed-off-by: Carsten Schafer --- helm/templates/ingress.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index 986ec040..8b1028ab 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -17,7 +17,9 @@ metadata: {{- end }} spec: - +{{- if $ingressValue.className }} + ingressClassName: {{ $ingressValue.className }} +{{- end }} {{- if $ingressValue.tls }} tls: {{- range $ingressValue.tls }}