From 38d9721317b4a9281d8402350b8af4dea45567cb Mon Sep 17 00:00:00 2001 From: Paul Voss Date: Sat, 18 Feb 2023 18:51:12 +0100 Subject: [PATCH] fix post_renderer argument breaking the helm deploy_command the post_renderer option resets the helm install command instead of appending the argument --- changelogs/fragments/586-helm-fix-post-renderer-arg.yml | 3 +++ plugins/modules/helm.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/586-helm-fix-post-renderer-arg.yml 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"