From a890cb8a50e4ada7af960520248c1ba04e5c2c0f Mon Sep 17 00:00:00 2001 From: Marcel Zapf Date: Thu, 11 Jan 2024 12:37:06 +0000 Subject: [PATCH] add ingress class --- helm/templates/ingress.yaml | 3 ++- helm/values.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index 1fa7a6e..d137eb7 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -6,8 +6,9 @@ metadata: annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }} spec: + ingressClassName: nginx-example rules: - {{- range .Values.ingress.hosts }} + {{ .Values.ingress.class }} - host: {{ .host }} http: paths: diff --git a/helm/values.yaml b/helm/values.yaml index dd734bd..95f1c58 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -104,6 +104,7 @@ configMap: ingress: enabled: false + class: "" annotations: {} hosts: - host: slides.example.com