[bitnami/airflow] Allow pod annotations for Airflow workers (#3514)

* Allow pod annotations for Airflow workers

* Use airflow.tplValue

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>
Co-authored-by: Miguel Ángel Cabrera Miñagorri <macabrera@bitnami.com>
This commit is contained in:
Pankaj Koti
2020-08-26 10:19:30 +02:00
committed by GitHub
parent 996649f2e9
commit c1a145d49e
5 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: airflow
version: 6.3.10
version: 6.4.0
appVersion: 1.10.12
description: Apache Airflow is a platform to programmatically author, schedule and monitor workflows.
keywords:

View File

@@ -113,6 +113,7 @@ The following tables lists the configurable parameters of the Airflow chart and
| `airflow.worker.extraEnvVarsSecret` | Secret containing extra env vars (in case of sensitive data) | `nil` |
| `airflow.worker.command` | Override default container command (useful when using custom images) | `nil` |
| `airflow.worker.args` | Override default container args (useful when using custom images) | `nil` |
| `airflow.worker.podAnnotations` | Additional annotations for Airflow worker pods | [] |
| `airflow.worker.extraVolumeMounts` | Array of extra volume mounts to be added (evaluated as template). Normally used with `extraVolumes`. | `nil` |
| `airflow.worker.extraVolumes` | Array of extra volumes to be added deployment (evaluated as template). Requires setting `extraVolumeMounts` | `nil` |
| `airflow.auth.forcePassword` | Force users to specify a password | `false` |

View File

@@ -29,6 +29,7 @@ spec:
{{- end }}
template:
metadata:
annotations: {{- include "airflow.tplValue" (dict "value" .Values.airflow.worker.podAnnotations "context" $) | nindent 8 }}
labels:
app.kubernetes.io/name: {{ include "airflow.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

View File

@@ -167,6 +167,7 @@ airflow:
requests: {}
# memory: 256Mi
# cpu: 250m
podAnnotations:
## Airflow web specific configuration
#

View File

@@ -233,6 +233,7 @@ airflow:
requests: {}
# memory: 256Mi
# cpu: 250m
podAnnotations:
## Airflow web specific configuration
#