diff --git a/charts/airflow/Chart.yaml b/charts/airflow/Chart.yaml index e246a128..769a42df 100644 --- a/charts/airflow/Chart.yaml +++ b/charts/airflow/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: airflow is a platform to programmatically author, schedule, and monitor workflows name: airflow -version: 8.1.1 +version: 8.1.2 appVersion: 2.0.1 icon: https://airflow.apache.org/_images/pin_large.png home: https://airflow.apache.org/ diff --git a/charts/airflow/templates/jobs/job-create-connections.yaml b/charts/airflow/templates/jobs/job-create-connections.yaml index 75b0da6a..2c317c52 100644 --- a/charts/airflow/templates/jobs/job-create-connections.yaml +++ b/charts/airflow/templates/jobs/job-create-connections.yaml @@ -33,6 +33,7 @@ spec: imagePullSecrets: - name: {{ .Values.airflow.image.pullSecret }} {{- end }} + serviceAccountName: {{ include "airflow.serviceAccountName" . }} containers: - name: create-connections {{- include "airflow.image" . | indent 10 }} diff --git a/charts/airflow/templates/jobs/job-create-pools.yaml b/charts/airflow/templates/jobs/job-create-pools.yaml index e2cf0352..a48977b6 100644 --- a/charts/airflow/templates/jobs/job-create-pools.yaml +++ b/charts/airflow/templates/jobs/job-create-pools.yaml @@ -33,6 +33,7 @@ spec: imagePullSecrets: - name: {{ .Values.airflow.image.pullSecret }} {{- end }} + serviceAccountName: {{ include "airflow.serviceAccountName" . }} containers: - name: create-pools {{- include "airflow.image" . | indent 10 }} diff --git a/charts/airflow/templates/jobs/job-create-users.yaml b/charts/airflow/templates/jobs/job-create-users.yaml index 101e2f0a..ec13cd84 100644 --- a/charts/airflow/templates/jobs/job-create-users.yaml +++ b/charts/airflow/templates/jobs/job-create-users.yaml @@ -33,6 +33,7 @@ spec: imagePullSecrets: - name: {{ .Values.airflow.image.pullSecret }} {{- end }} + serviceAccountName: {{ include "airflow.serviceAccountName" . }} containers: - name: create-users {{- include "airflow.image" . | indent 10 }} diff --git a/charts/airflow/templates/jobs/job-create-variables.yaml b/charts/airflow/templates/jobs/job-create-variables.yaml index dc0428df..b5f2f75f 100644 --- a/charts/airflow/templates/jobs/job-create-variables.yaml +++ b/charts/airflow/templates/jobs/job-create-variables.yaml @@ -33,6 +33,7 @@ spec: imagePullSecrets: - name: {{ .Values.airflow.image.pullSecret }} {{- end }} + serviceAccountName: {{ include "airflow.serviceAccountName" . }} containers: - name: create-variables {{- include "airflow.image" . | indent 10 }} diff --git a/charts/airflow/templates/jobs/job-upgrade-db.yaml b/charts/airflow/templates/jobs/job-upgrade-db.yaml index 79ac1660..340cfaa9 100644 --- a/charts/airflow/templates/jobs/job-upgrade-db.yaml +++ b/charts/airflow/templates/jobs/job-upgrade-db.yaml @@ -37,6 +37,7 @@ spec: imagePullSecrets: - name: {{ .Values.airflow.image.pullSecret }} {{- end }} + serviceAccountName: {{ include "airflow.serviceAccountName" . }} initContainers: {{- include "airflow.init_container.check_db" . | indent 8 }} containers: