Przeglądaj źródła

Support for ingressClassName in helm chart (#1370)

Ruslan Ibragimov 3 lat temu
rodzic
commit
08d7216718

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