瀏覽代碼

Support for ingressClassName in helm chart (#1370)

Ruslan Ibragimov 3 年之前
父節點
當前提交
08d7216718
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 3 0
      charts/kafka-ui/templates/ingress.yaml
  2. 3 0
      charts/kafka-ui/values.yaml

+ 3 - 0
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:

+ 3 - 0
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: ""