
It's possible that a Helm chart does *not* create any pods, such as in the case if you're using Helm to manage all of your RBAC resources. Change-Id: I98b8427b1f4b6a2f454c3f796fa8a6ad2d765c46
23 lines
567 B
YAML
23 lines
567 B
YAML
- name: Install dependencies
|
|
command: "helm dep up {{ helm_chart }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Print templated charts
|
|
command: "helm template -n zuul {{ helm_chart }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Deploy templated charts
|
|
shell: |
|
|
set -o pipefail
|
|
helm template -n {{ helm_release_name }} {{ helm_chart }} | kubectl apply -f-
|
|
args:
|
|
executable: /bin/bash
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Wait for all pods to become Ready
|
|
include_role:
|
|
name: wait-for-pods
|
|
when: helm_wait_for_pods | bool
|