diff --git a/charts/superset/Chart.yaml b/charts/superset/Chart.yaml index 446101b1..681130fb 100644 --- a/charts/superset/Chart.yaml +++ b/charts/superset/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: 1.1.0 +version: 1.2.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/superset/templates/ingress.yaml b/charts/superset/templates/ingress.yaml index 36264de8..49860816 100644 --- a/charts/superset/templates/ingress.yaml +++ b/charts/superset/templates/ingress.yaml @@ -11,6 +11,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + ingressClassName: {{ .Values.ingress.ingressClassName | quote }} {{- if .Values.ingress.tls }} tls: - hosts: diff --git a/charts/superset/values.schema.json b/charts/superset/values.schema.json index a6a9e1d1..c830c6af 100644 --- a/charts/superset/values.schema.json +++ b/charts/superset/values.schema.json @@ -60,6 +60,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/superset/values.yaml b/charts/superset/values.yaml index bb8a5b64..ed881241 100644 --- a/charts/superset/values.yaml +++ b/charts/superset/values.yaml @@ -63,6 +63,7 @@ superset: ingress: enabled: true + ingressClassName: "" tls: true annotations: kubernetes.io/ingress.class: nginx