diff --git a/stable/airflow/Chart.yaml b/stable/airflow/Chart.yaml index dc15e6a498..5d74119bd1 100644 --- a/stable/airflow/Chart.yaml +++ b/stable/airflow/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Airflow is a platform to programmatically author, schedule and monitor workflows name: airflow -version: 2.8.7 +version: 2.8.8 appVersion: 1.10.2 icon: https://airflow.apache.org/_images/pin_large.png home: https://airflow.apache.org/ diff --git a/stable/airflow/README.md b/stable/airflow/README.md index b6f3a5752e..9d08bb8e4e 100644 --- a/stable/airflow/README.md +++ b/stable/airflow/README.md @@ -351,6 +351,7 @@ The following table lists the configurable parameters of the Airflow chart and t | `ingress.web.host` | hostname for the webserver ui | "" | | `ingress.web.path` | path of the werbserver ui (read `values.yaml`) | `` | | `ingress.web.annotations` | annotations for the web ui ingress | `{}` | +| `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.flower.host` | hostname for the flower ui | "" | diff --git a/stable/airflow/templates/deployments-web.yaml b/stable/airflow/templates/deployments-web.yaml index 788a4d8459..3227870edd 100644 --- a/stable/airflow/templates/deployments-web.yaml +++ b/stable/airflow/templates/deployments-web.yaml @@ -141,7 +141,11 @@ spec: {{- end }} livenessProbe: httpGet: + {{- if .Values.ingress.web.livenessPath }} + path: "{{ .Values.ingress.web.livenessPath }}" + {{- else }} path: "{{ .Values.ingress.web.path }}/health" + {{- end }} port: web ## Keep 6 minutes the delay to allow clean wait of postgres and redis containers initialDelaySeconds: {{ .Values.web.initialDelaySeconds }} diff --git a/stable/airflow/values.yaml b/stable/airflow/values.yaml index bc9ddc43e0..37254955d4 100644 --- a/stable/airflow/values.yaml +++ b/stable/airflow/values.yaml @@ -286,6 +286,10 @@ ingress: ## Example for Traefik: # traefik.frontend.rule.type: PathPrefix # kubernetes.io/ingress.class: traefik + ## + ## Configure the web liveness path. + ## Defaults to the templated value `{{ ingress.web.path }}/health` + livenessPath: tls: ## Set to "true" to enable TLS termination at the ingress enabled: false