[stable/airflow] enabled ingress paths to be input through the values.yaml file (#18466)

* Enabled ingress paths to be input through the values.yaml file

Signed-off-by: Michael Hewitt <hmike1996@gmail.com>

* Bump up chart version

Signed-off-by: Michael Hewitt <hmike1996@gmail.com>
This commit is contained in:
hmike96
2019-10-31 10:44:37 -07:00
committed by Kubernetes Prow Robot
parent d4674da79d
commit 6e94f8f328
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 4.1.4
version: 4.1.5
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
+1
View File
@@ -386,6 +386,7 @@ The following table lists the configurable parameters of the Airflow chart and t
| `ingress.web.livenessPath` | path to the web liveness probe | `{{ ingress.web.path }}/health` |
| `ingress.web.tls.enabled` | enables TLS termination at the ingress | `false` |
| `ingress.web.tls.secretName` | name of the secret containing the TLS certificate & key | `` |
| `ingress.web.paths` | additional paths for the ingress | `{}` |
| `ingress.flower.host` | hostname for the flower ui | "" |
| `ingress.flower.path` | path of the flower ui (read `values.yaml`) | `` |
| `ingress.flower.livenessPath` | path to the liveness probe (read `values.yaml`) | `/` |
@@ -27,5 +27,11 @@ spec:
backend:
serviceName: {{ template "airflow.fullname" . }}-web
servicePort: web
{{- range .Values.ingress.web.paths }}
- path: {{ .path }}
backend:
serviceName: {{ .serviceName }}
servicePort: {{ .servicePort }}
{{- end }}
host: {{ .Values.ingress.web.host }}
{{- end }}
+6
View File
@@ -333,6 +333,12 @@ ingress:
## If enabled, set "secretName" to the secret containing the TLS private key and certificate
## Example:
## secretName: example-com-crt
paths:
## Different http paths to add to the ingress
## Example:
## - path: "/*"
## serviceName: "ssl-redirect"
## servicePort: "use-annotation"
##
## Configure the flower endpoind
flower: