Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
superset ingress class name
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Oct 11, 2022
1 parent c037bf6 commit ce03fa4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/superset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/superset/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- if .Values.ingress.tls }}
tls:
- hosts:
Expand Down
14 changes: 14 additions & 0 deletions charts/superset/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions charts/superset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ superset:

ingress:
enabled: true
ingressClassName: ""
tls: true
annotations:
kubernetes.io/ingress.class: nginx
Expand Down

0 comments on commit ce03fa4

Please sign in to comment.