Merge "Drop Helm v2 support to fix v3 issue"

This commit is contained in:
Zuul 2023-09-04 14:07:26 +00:00 committed by Gerrit Code Review
commit 5aca055b8b
1 changed files with 2 additions and 2 deletions

View File

@ -4,14 +4,14 @@
chdir: "{{ zuul_work_dir }}" chdir: "{{ zuul_work_dir }}"
- name: Print templated charts - name: Print templated charts
command: "helm template -n zuul {{ helm_chart }}" command: "helm template zuul {{ helm_chart }}"
args: args:
chdir: "{{ zuul_work_dir }}" chdir: "{{ zuul_work_dir }}"
- name: Deploy templated charts - name: Deploy templated charts
shell: | shell: |
set -o pipefail set -o pipefail
helm template {% if helm_values_file is defined %}--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 %}{{ helm_release_name }} {{ helm_chart }} | kubectl apply -f-
args: args:
executable: /bin/bash executable: /bin/bash
chdir: "{{ zuul_work_dir }}" chdir: "{{ zuul_work_dir }}"