mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
helm_template: add optional show_only and release_namespace arguments SUMMARY This PR adds the "show_only" and "release_namespace" as optional arguments to the helm_template module. It does some work towards #313. ISSUE TYPE Feature Pull Request COMPONENT NAME changelogs/fragments/313-helm-template-add-support-for-show-only-and-release-namespace.yml plugins/modules/helm_template.py tests/unit/modules/test_helm_template.py ADDITIONAL INFORMATION The PR does include unit tests instead of integration test. Reasoning: The existing integration tests already include a task based on helm_template. So we know that the module does a proper job of using the command line generated inside the module to call helm. As I trust helm itself to "do its job" correctly, all that should be necessary is to test the correct generation of the command line itself. The included unit tests hopefully do a proper job. With regards of the pretty long testing times for the module, I really prefer unit tests, if at all possible. Please let me know if this fits. Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: Mike Graves <mgraves@redhat.com>