mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-06 04:52:37 +00:00
This is a backport of PR #1090 as merged into main (e6076e5).
SUMMARY
Ensure compatibility with Helm v4 for modules helm_plugin and helm_plugin_info
Partially addresses #1038
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
helm_plugin
helm_plugin_info
helm_info
helm_pull
helm_registry_auth
helm
helm_template
Reviewed-by: Bikouo Aubin
Reviewed-by: Matthew Johnson
23 lines
462 B
YAML
23 lines
462 B
YAML
---
|
|
- name: Ensure helm is not installed
|
|
file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
with_items:
|
|
- "/tmp/helm"
|
|
|
|
- name: Check failed if helm is not installed
|
|
include_tasks: test_helm_not_installed.yml
|
|
|
|
- name: Install Helm v4
|
|
ansible.builtin.include_role:
|
|
name: install_helm
|
|
vars:
|
|
helm_version: v3.6.0
|
|
|
|
- name: Test helm uninstall
|
|
ansible.builtin.include_tasks: test_helm_uninstall.yml
|
|
|
|
- name: Run tests
|
|
include_tasks: run_test.yml
|