From 5f56743b388f4e3abe8ef3535821f6f4f6173dba Mon Sep 17 00:00:00 2001 From: Albert Dixon Date: Wed, 12 Jan 2022 14:19:13 -0800 Subject: [PATCH 1/2] add support for ingressClassName --- helm/akhq/templates/ingress.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/akhq/templates/ingress.yaml b/helm/akhq/templates/ingress.yaml index c0bc591f9..47ff6c6b5 100644 --- a/helm/akhq/templates/ingress.yaml +++ b/helm/akhq/templates/ingress.yaml @@ -15,6 +15,9 @@ metadata: {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} spec: +{{- if and .Values.ingress.ingressClassName (eq (include "akhq.ingress.apiVersion" $) "networking.k8s.io/v1") }} + ingressClassName: {{ .Values.ingress.ingressClassName }} +{{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} From 0cd2c780d050ccaac9dc68b1e05f7d2ee76987b0 Mon Sep 17 00:00:00 2001 From: Albert Dixon Date: Wed, 12 Jan 2022 14:20:56 -0800 Subject: [PATCH 2/2] add default empty value --- helm/akhq/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/akhq/values.yaml b/helm/akhq/values.yaml index f1a03d645..b90db343a 100644 --- a/helm/akhq/values.yaml +++ b/helm/akhq/values.yaml @@ -114,6 +114,7 @@ service: ingress: enabled: false + ingressClassName: "" annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true"