Skip to content

Commit

Permalink
fix post_renderer argument breaking the helm deploy_command
Browse files Browse the repository at this point in the history
the post_renderer option resets the helm install command
instead of appending the argument
  • Loading branch information
pauvos committed Feb 20, 2023
1 parent 31c1ccf commit 38d9721
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/586-helm-fix-post-renderer-arg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- helm - fix post_renderer argument breaking the helm deploy_command (https://github.com/ansible-collections/kubernetes.core/pull/586).
2 changes: 1 addition & 1 deletion plugins/modules/helm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 38d9721

Please sign in to comment.