Skip to content

Commit

Permalink
Fix init containers to use default airflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmiller609 committed Jun 3, 2020
1 parent 76dab7a commit c6b1288
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# apiVersion v1 is Helm 2
apiVersion: v1
name: airflow
version: 0.15.0
version: 0.15.1
description: Helm chart to deploy the Astronomer Platform Airflow module
icon: https://www.astronomer.io/static/airflowNewA.png
keywords:
Expand Down
2 changes: 1 addition & 1 deletion templates/scheduler/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
{{- end }}
initContainers:
- name: run-airflow-migrations
image: {{ template "airflow_image" . }}
image: {{ template "default_airflow_image" . }}
imagePullPolicy: {{ .Values.images.airflow.pullPolicy }}
args: ["airflow", "upgradedb"]
env:
Expand Down
2 changes: 1 addition & 1 deletion templates/webserver/webserver-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
{{- end }}
initContainers:
- name: wait-for-airflow-migrations
image: {{ template "airflow_image" . }}
image: {{ template "default_airflow_image" . }}
imagePullPolicy: {{ .Values.images.airflow.pullPolicy }}
args: ["airflow-migration-spinner", "--timeout=60"]
env:
Expand Down
4 changes: 2 additions & 2 deletions templates/workers/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
initContainers:
{{- if and $persistence .Values.workers.persistence.fixPermissions }}
- name: volume-permissions
image: {{ template "airflow_image" . }}
image: {{ template "default_airflow_image" . }}
imagePullPolicy: {{ .Values.images.airflow.pullPolicy }}
command:
- chown
Expand All @@ -80,7 +80,7 @@ spec:
mountPath: {{ template "airflow_logs" . }}
{{- end }}
- name: wait-for-airflow-migrations
image: {{ template "airflow_image" . }}
image: {{ template "default_airflow_image" . }}
imagePullPolicy: {{ .Values.images.airflow.pullPolicy }}
args: ["airflow-migration-spinner", "--timeout=60"]
env:
Expand Down

0 comments on commit c6b1288

Please sign in to comment.