From 98813a9b400d21381e554ddb1ce09ed623cc4c92 Mon Sep 17 00:00:00 2001 From: jubnl Date: Fri, 3 Apr 2026 19:15:30 +0200 Subject: [PATCH] fix(helm): add ingressClassName support to Helm chart Adds `ingress.className` value and renders `ingressClassName` in the Ingress spec, allowing users to specify the ingress controller class. Closes #377. --- chart/templates/ingress.yaml | 3 +++ chart/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index a13b7f4..91c4ba7 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -10,6 +10,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} {{- if .Values.ingress.tls }} tls: {{- toYaml .Values.ingress.tls | nindent 4 }} diff --git a/chart/values.yaml b/chart/values.yaml index 68cf274..52dfccf 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -97,6 +97,7 @@ resources: ingress: enabled: false + className: "" annotations: {} hosts: - host: chart-example.local