From 57143bb99453a0416bc7c5eedee2773ecbc4335e Mon Sep 17 00:00:00 2001 From: Aleksandr Beshkenadze Date: Tue, 24 May 2022 18:37:40 +0200 Subject: [PATCH 1/2] Fix ingress does not contain a valid IngressClass Add the ingressClassName field if the k8s version higher then 1.19-0. See: https://kubernetes.github.io/ingress-nginx/#what-is-an-ingressclass-and-why-is-it-important-for-users-of-ingress-nginx-controller-now --- charts/meilisearch/templates/ingress.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/meilisearch/templates/ingress.yaml b/charts/meilisearch/templates/ingress.yaml index 80d6265..18ddb89 100644 --- a/charts/meilisearch/templates/ingress.yaml +++ b/charts/meilisearch/templates/ingress.yaml @@ -25,6 +25,9 @@ metadata: {{- . | toYaml | nindent 4 }} {{- end }} spec: + {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} + ingressClassName: nginx + {{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} From 037fe961480d33f6cca5fb1738ff1cf37ffc3b52 Mon Sep 17 00:00:00 2001 From: Aleksandr Beshkenadze Date: Wed, 25 May 2022 10:47:05 +0200 Subject: [PATCH 2/2] Bump version to 0.1.34 --- charts/meilisearch/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/meilisearch/Chart.yaml b/charts/meilisearch/Chart.yaml index 80ad793..2eecbef 100644 --- a/charts/meilisearch/Chart.yaml +++ b/charts/meilisearch/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v0.27.1" description: A Helm chart for the Meilisearch search engine name: meilisearch -version: 0.1.33 +version: 0.1.34 icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg home: https://github.com/meilisearch/meilisearch-kubernetes/charts maintainers: