Fix the checking helm_values_file definition

Change-Id: Ice93989a4eaa5125ea97586db1c915fdf59682b7
This commit is contained in:
okozachenko 2020-04-23 14:34:41 -07:00
parent 66b4de8b26
commit 8e472d4137

View File

@ -11,7 +11,7 @@
- name: Deploy templated charts
shell: |
set -o pipefail
helm template {% if helm_values_file %}--values {{ helm_values_file }} {% endif %}-n {{ helm_release_name }} {{ helm_chart }} | kubectl apply -f-
helm template {% if helm_values_file is defined %}--values {{ helm_values_file }} {% endif %}-n {{ helm_release_name }} {{ helm_chart }} | kubectl apply -f-
args:
executable: /bin/bash
chdir: "{{ zuul_work_dir }}"