You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
628 B

  1. ---
  2. - name: Add Helm repositories
  3. kubernetes.core.helm_repository: "{{ helm_repository_defaults | combine(item) }}" # noqa args[module]
  4. loop: "{{ repositories }}"
  5. - name: Update Helm repositories
  6. kubernetes.core.helm:
  7. state: absent
  8. binary_path: "{{ bin_dir }}/helm"
  9. release_name: dummy # trick needed to refresh in separate step
  10. release_namespace: kube-system
  11. update_repo_cache: true
  12. when:
  13. - repositories != []
  14. - helm_update
  15. - name: Install Helm Applications
  16. kubernetes.core.helm: "{{ helm_defaults | combine(release_common_opts, item) }}" # noqa args[module]
  17. loop: "{{ releases }}"