diff --git a/charts/openrefine/Chart.yaml b/charts/openrefine/Chart.yaml index 89c6e980..537b5080 100644 --- a/charts/openrefine/Chart.yaml +++ b/charts/openrefine/Chart.yaml @@ -22,7 +22,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.2.0 +version: 3.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/openrefine/templates/ingress.yaml b/charts/openrefine/templates/ingress.yaml index 49660a58..7b9a2014 100644 --- a/charts/openrefine/templates/ingress.yaml +++ b/charts/openrefine/templates/ingress.yaml @@ -10,6 +10,7 @@ metadata: annotations: {{- include "library-chart.ingress.annotations" . | nindent 4 }} spec: + ingressClassName: {{ .Values.ingress.ingressClassName | quote }} {{- if .Values.ingress.tls }} tls: - hosts: diff --git a/charts/openrefine/values.schema.json b/charts/openrefine/values.schema.json index 7215d019..ee9c6cdd 100644 --- a/charts/openrefine/values.schema.json +++ b/charts/openrefine/values.schema.json @@ -178,6 +178,20 @@ "hidden": true, "overwriteDefaultWith": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}" } + }, + "ingressClassName": { + "type": "string", + "form": true, + "title": "ingressClassName", + "default": "", + "x-form": { + "hidden": true, + "value": "{{k8s.ingressClassName}}" + }, + "x-onyxia": { + "hidden": true, + "overwriteDefaultWith": "{{k8s.ingressClassName}}" + } } } } diff --git a/charts/openrefine/values.yaml b/charts/openrefine/values.yaml index 8aea1e9b..05f3b723 100644 --- a/charts/openrefine/values.yaml +++ b/charts/openrefine/values.yaml @@ -71,8 +71,8 @@ networking: ingress: enabled: true tls: true - annotations: - kubernetes.io/ingress.class: nginx + ingressClassName: "" + annotations: [] # kubernetes.io/tls-acme: "true" hostname: chart-example.local # - secretName: chart-example-tls