fix post_renderer argument breaking the helm deploy_command (#586)

fix post_renderer arguments breaking the helm deploy_command

SUMMARY

The post_renderer setting is broken and resets the deploy_command instead of appending an argument. Diff should be self explanatory.
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

kubernetes.core.helm
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
Paul Voss
2023-04-03 20:46:03 +02:00
committed by GitHub
parent deb4859f19
commit 8640c16cd4
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- helm - fix post_renderer argument breaking the helm deploy_command (https://github.com/ansible-collections/kubernetes.core/pull/586).

View File

@@ -560,7 +560,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"