You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use post_renderer on kubernetes.core.helm, the result command is bogus and does not work:
msg: '[Errno 2] No such file or directory: b''--post-renderer=/tmp/ansible.1zs3ebirpg-db-kustomize/kustomize.sh'': b''--post-renderer=/tmp/ansible.1zs3ebirpg-db-kustomize/kustomize.sh'''
had the same issue today. it doesn't work with 2.4.2, but does work with 3.0.0 and above. @davidfrickert thanks for this issue - it probably saved me hours of debugging!
SUMMARY
When attempting to use post_renderer on kubernetes.core.helm, the result command is bogus and does not work:
The command seems to be overwritten when using post_renderer: https://github.com/ansible-collections/kubernetes.core/blob/2.4.1/plugins/modules/helm.py#L525
On 3.0.0, it seems that this might have been fixed but did not test yet. At least the code does not seem to overwrite the command and it is being done on 2.4.1. https://github.com/ansible-collections/kubernetes.core/blob/3.0.0/plugins/modules/helm.py#L564
Backport to 2.4.*?
ISSUE TYPE
COMPONENT NAME
kubernetes.core.helm
COLLECTION VERSION
2.4.1
STEPS TO REPRODUCE
Try to install any helm chart with post_renderer option.
EXPECTED RESULTS
post_renderer works.
ACTUAL RESULTS
usage of post_renderer makes it that helm is not actually invoked.
The text was updated successfully, but these errors were encountered: