Skip to content

Commit 8640c16

Browse files
authored
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 <[email protected]>
1 parent deb4859 commit 8640c16

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- helm - fix post_renderer argument breaking the helm deploy_command (https://github.com/ansible-collections/kubernetes.core/pull/586).

plugins/modules/helm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def deploy(
560560
module.add_cleanup_file(path)
561561

562562
if post_renderer:
563-
deploy_command = " --post-renderer=" + post_renderer
563+
deploy_command += " --post-renderer=" + post_renderer
564564

565565
if skip_crds:
566566
deploy_command += " --skip-crds"

0 commit comments

Comments
 (0)