Skip to content

Commit

Permalink
Added installation of helm diff (#2)
Browse files Browse the repository at this point in the history
# Pull Request Description
Added installation of helm diff plugin
https://github.com/databus23/helm-diff

Solves the following problem:

[ansible-collections/kubernetes.core#174

Additionally, this problem pops up even without using Ansible on-the-fly
templating feature.

## Change type

- [X] Bug fix (non-breaking change which fixes a specific issue)
- [ ] New feature (non-breaking change adding new functionality)
- [ ] Breaking change (fix or feature that potentially causes existing
functionality to fail)
- [ ] Change that does not affect Ansible Role code (Github Actions
Workflow, Documentation, or similair)

## How was this tested?
Tested using Ansible+Vagrant on Ubuntu 20.04 and 22.04
  • Loading branch information
lukapetrovic-git committed Mar 1, 2024
1 parent 6af1b87 commit 92cad1a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/k8s_module_prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@
- name: ensure k8s module dependencies are installed
ansible.builtin.pip:
name: "{{ longhorn_k8s_module_dependencies }}"
state: present
state: present

- name: install helm diff
kubernetes.core.helm_plugin:
plugin_path: "https://github.com/databus23/helm-diff"
plugin_version: 3.9.5
state: present
environment:
KUBECONFIG: "{{ longhorn_kubeconfig_path }}"

0 comments on commit 92cad1a

Please sign in to comment.