diff --git a/changelogs/fragments/586-helm-fix-post-renderer-arg.yml b/changelogs/fragments/586-helm-fix-post-renderer-arg.yml new file mode 100644 index 0000000000..2582a48629 --- /dev/null +++ b/changelogs/fragments/586-helm-fix-post-renderer-arg.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - helm - fix post_renderer argument breaking the helm deploy_command (https://github.com/ansible-collections/kubernetes.core/pull/586). diff --git a/plugins/modules/helm.py b/plugins/modules/helm.py index 8c6d5dd14a..ad80af83c0 100644 --- a/plugins/modules/helm.py +++ b/plugins/modules/helm.py @@ -554,7 +554,7 @@ def deploy( module.add_cleanup_file(path) if post_renderer: - deploy_command = " --post-renderer=" + post_renderer + deploy_command += " --post-renderer=" + post_renderer if skip_crds: deploy_command += " --skip-crds"