Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
For adding pools, the if check should be on pools field and not varia…
Browse files Browse the repository at this point in the history
…bles field (#16521)

Signed-off-by: Sudip Datta <sudipdatta10@gmail.com>
  • Loading branch information
zbigniev authored and k8s-ci-robot committed Aug 21, 2019
1 parent c2774e5 commit 59e43ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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: 4.0.3
version: 4.0.4
appVersion: 1.10.3
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
Expand Down
4 changes: 2 additions & 2 deletions stable/airflow/templates/deployments-scheduler.yaml
Expand Up @@ -146,7 +146,7 @@ spec:
echo "adding variables" &&
airflow variables -i /usr/local/variables-pools/variables.json &&
{{- end }}
{{- if .Values.airflow.variables }}
{{- if .Values.airflow.pools }}
echo "adding pools" &&
airflow pool -i /usr/local/variables-pools/pools.json &&
{{- end }}
Expand All @@ -170,7 +170,7 @@ spec:
echo "adding variables" &&
airflow variables -i /usr/local/variables-pools/variables.json &&
{{- end }}
{{- if .Values.airflow.variables }}
{{- if .Values.airflow.pools }}
echo "adding pools" &&
airflow pool -i /usr/local/variables-pools/pools.json &&
{{- end }}
Expand Down

0 comments on commit 59e43ac

Please sign in to comment.