mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-07-28 10:24:45 +00:00
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:
3
changelogs/fragments/586-helm-fix-post-renderer-arg.yml
Normal file
3
changelogs/fragments/586-helm-fix-post-renderer-arg.yml
Normal 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).
|
||||||
@@ -560,7 +560,7 @@ def deploy(
|
|||||||
module.add_cleanup_file(path)
|
module.add_cleanup_file(path)
|
||||||
|
|
||||||
if post_renderer:
|
if post_renderer:
|
||||||
deploy_command = " --post-renderer=" + post_renderer
|
deploy_command += " --post-renderer=" + post_renderer
|
||||||
|
|
||||||
if skip_crds:
|
if skip_crds:
|
||||||
deploy_command += " --skip-crds"
|
deploy_command += " --skip-crds"
|
||||||
|
|||||||
Reference in New Issue
Block a user