fix: Allow setting ingress hosts directly through yaml (#23446)

Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
This commit is contained in:
Josh Paulin
2023-03-22 17:31:59 -04:00
committed by GitHub
parent 8588f81855
commit 499754a52e
4 changed files with 10 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.8.7
version: 0.8.8
dependencies:
- name: postgresql
version: 12.1.6

View File

@@ -23,7 +23,7 @@ NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs
# superset
![Version: 0.8.7](https://img.shields.io/badge/Version-0.8.7-informational?style=flat-square)
![Version: 0.8.8](https://img.shields.io/badge/Version-0.8.8-informational?style=flat-square)
Apache Superset is a modern, enterprise-ready business intelligence web application
@@ -74,6 +74,7 @@ helm install my-superset superset/superset
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `false` | |
| ingress.extraHostsRaw | list | `[]` | |
| ingress.hosts[0] | string | `"chart-example.local"` | |
| ingress.path | string | `"/"` | |
| ingress.pathType | string | `"ImplementationSpecific"` | |

View File

@@ -45,6 +45,9 @@ spec:
{{- end }}
{{- end }}
rules:
{{- if .Values.ingress.extraHostsRaw }}
{{- toYaml .Values.extraEnvRaw | nindent 12 }}
{{- end }}
{{- range .Values.ingress.hosts }}
- host: {{ . }}
http:
@@ -66,4 +69,7 @@ spec:
name: ws
{{- end }}
{{- end }}
{{- if .Values.ingress.extraHostsRaw }}
{{- toYaml .Values.ingress.extraHostsRaw | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -219,6 +219,7 @@ ingress:
hosts:
- chart-example.local
tls: []
extraHostsRaw: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local