This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
community.kubernetes.helm: release_values makes ansible always show changed state #274
Labels
has_pr
This issue has a related PR that may close it.
priority/low
topic/helm
Issues relating to helm plugins
type/bug
Something isn't working
Comments
Hi @SpikePy, thank for reporting this. Helm provides a plugin called |
goneri
added a commit
to goneri/community.kubernetes
that referenced
this issue
Dec 10, 2020
Return `changed` `False` is the `values_files` match the `values` of the existing deployment. Closes: ansible-collections#274
resolved_by_pr #332 |
goneri
added a commit
to goneri/community.kubernetes
that referenced
this issue
Dec 15, 2020
Return `changed` `False` is the `values_files` match the `values` of the existing deployment. Closes: ansible-collections#274
@Akasurde Just had time and the opportunity to test it and it worked like a charm. showed changed state if i changed the charts version tag and if I re-rolled it with the same module parameters without any changes it shows "ok" 👍 |
goneri
added a commit
to goneri/community.kubernetes
that referenced
this issue
Jan 5, 2021
Return `changed` `False` is the `values_files` match the `values` of the existing deployment. Closes: ansible-collections#274
geerlingguy
pushed a commit
that referenced
this issue
Jan 5, 2021
Return `changed` `False` is the `values_files` match the `values` of the existing deployment. Closes: #274
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
has_pr
This issue has a related PR that may close it.
priority/low
topic/helm
Issues relating to helm plugins
type/bug
Something isn't working
SUMMARY
When using
values_files: /tmp/{{ role_name }}/values_rabbitmq.yml
in the new helm module ansible always shows a changed state after running it (even though the file has the same content), but if I userelease_values: "{{ lookup('template', 'values_rabbitmq.yml') | from_yaml }}"
with the same content it just shows ok and only shows change when something actually changed in the given values.ISSUE TYPE
COMPONENT NAME
community.kubernetes.helm
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Linux work 5.8.0-3-amd64 #1 SMP Debian 5.8.14-1 (2020-10-10) x86_64 GNU/Linux
STEPS TO REPRODUCE
EXPECTED RESULTS
Ansible should show a changed state only if there were changes in the configuration-/values-file
ACTUAL RESULTS
ansible always shows changed state
The text was updated successfully, but these errors were encountered: