Closed ncauchois closed 4 years ago
@ncauchois Thanks for reporting this issue. Do you think this is similar to https://github.com/ansible-collections/community.kubernetes/issues/128?
@Akasurde yes it looks like, but I don't know if it's exactly the same problem.
The problem comes from here: https://github.com/ansible-collections/community.kubernetes/blob/e9d8bf703bcb9bced1ae327d99be99e907d7d83a/plugins/modules/helm.py#L476. The helm command is never launched if there is no force, differences between the values or on the version of the chart.
We're going to fold addressing this and other related issues into #248.
SUMMARY
If you make changes directly in a kubernetes object as deployment, helm will not detect these changes and redeploy with good values.
ISSUE TYPE
COMPONENT NAME
community.kubernetes.helm
ANSIBLE VERSION
OS / ENVIRONMENT
debian
STEPS TO REPRODUCE
kubectl edit deploy xxx
EXPECTED RESULTS
I'd expect that the memory resource request change is detected and helm corrects this change.
ACTUAL RESULTS
The module doesn't detect the change and nothing is released.