This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
Helm should include appVersion in it's idempotence check #246
Labels
has_pr
This issue has a related PR that may close it.
priority/medium
type/bug
Something isn't working
Milestone
SUMMARY
When re-deploying a Helm chart using Ansible I noticed no deployment was preformed and the console output listed my task as
ok
instead ofchanged
. It appears that the Helm module only uses thechart
key to determine if a Chart needs to be upgraded during execution, see here. This check should consider theappVersion
specification of the chart as well.I saw a few other related issues looking to implemented
helm-diff
as well which be a more complete solution.ISSUE TYPE
COMPONENT NAME
community.kubernetes.helm
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Modify a chart's
appVersion
and re-run the Helm task. Observe the Helm chart is not updated even though the Chart specification has changed.EXPECTED RESULTS
Charts that change the
appVersion
key should be re-deployed.ACTUAL RESULTS
The deployed release remains unchanged.
The text was updated successfully, but these errors were encountered: