Browse Source

Add flag to prevent running helm update (#10169)

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
pull/10081/head
Pat Riehecky 1 year ago
committed by GitHub
parent
commit
2fa64f9fd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
  1. 4
      roles/helm-apps/tasks/main.yml
  2. 2
      roles/helm-apps/vars/main.yml

4
roles/helm-apps/tasks/main.yml

@ -10,7 +10,9 @@
release_name: dummy # trick needed to refresh in separate step
release_namespace: kube-system
update_repo_cache: true
when: repositories != []
when:
- repositories != []
- helm_update
- name: Install Helm Applications
kubernetes.core.helm: "{{ helm_defaults | combine(release_common_opts, item) }}"

2
roles/helm-apps/vars/main.yml

@ -1,4 +1,6 @@
---
helm_update: true
helm_defaults:
atomic: true
binary_path: "{{ bin_dir }}/helm"

Loading…
Cancel
Save