consider support helm < 3.0.0

This commit is contained in:
Yuriy Novostavskiy
2024-12-11 16:51:30 +00:00
parent 8d2ddf29fc
commit f20004d196
2 changed files with 7 additions and 4 deletions

View File

@@ -223,10 +223,10 @@ def main():
else:
module.fail_json(
msg="Failure when executing Helm command. Exited {0}.\nstdout: {1}\nstderr: {2}".format(
rc, out, err
),
command=helm_cmd,
)
rc, out, err
),
command=helm_cmd,
)
module.exit_json(changed=changed, stdout=out, stderr=err, command=helm_cmd)