Support for ingressClassName in helm chart
Currently the helm chart doesn't support specifying ingressClassName in the ingress object.
Need to support it.
charts/kafka-ui/templates/ingress.yaml charts/kafka-ui/values.yaml
charts/kafka-ui/templates/ingress.yaml charts/kafka-ui/values.yaml
diff --git a/charts/kafka-ui/templates/ingress.yaml b/charts/kafka-ui/templates/ingress.yaml
index 6c823c0ab05..641cfd9b67e 100644
--- a/charts/kafka-ui/templates/ingress.yaml
+++ b/charts/kafka-ui/templates/ingress.yaml
@@ -24,6 +24,9 @@ spec:
         - {{ .Values.ingress.host }}
       secretName: {{ .Values.ingress.tls.secretName }}
   {{- end }}
+  {{- if .Values.ingress.ingressClassName }}
+  ingressClassName: {{ .Values.ingress.ingressClassName }}
+  {{- end }}
   rules:
     - http:
         paths:
diff --git a/charts/kafka-ui/values.yaml b/charts/kafka-ui/values.yaml
index 50e54038500..3fc0754aff5 100644
--- a/charts/kafka-ui/values.yaml
+++ b/charts/kafka-ui/values.yaml
@@ -75,6 +75,9 @@ ingress:
   # Annotations for the Ingress
   annotations: {}
 
+  # ingressClassName for the Ingress
+  ingressClassName: ""
+
   # The path for the Ingress
   path: ""
 
