-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm_template: add optional show_only and release_namespace arguments #388
helm_template: add optional show_only and release_namespace arguments #388
Conversation
Build succeeded. ✔️ noop SUCCESS in 0s Warning: |
Build failed.
|
I might be wrong, but the errors in ansible/check look more like configuration issues in the testing pipeline. |
recheck |
Build failed.
|
@cvstebut The sanity failure for the 2.11 test is unrelated to your changes here, and will likely have to be fixed in ansible. Not sure yet what the time frame for that fix is. |
@gravesm Thanks for letting me know! And also many thanks to those working on the testing pipelines! |
Co-authored-by: Abhijeet Kasurde <[email protected]>
Build succeeded.
|
Hi, I am currently working on adding further optional parameters to helm_template:
Should I extend this PR or wait for this PR to be merged and start the next one? |
I think we can go ahead and merge this. Since this just has unit tests, it shouldn't be affected by any changes to the integration tests. Thanks for your work on it! |
The ansible-ee-tests-stable-2.12 has failed. I just pushed ansible/ansible-zuul-jobs#1369 to ignore it. Once this PR is merged, we will able to retrigger another gating job with the |
regate |
My previous PR didn't work. I've pushed this one ansible/ansible-zuul-jobs#1370 which this time turn the job non-voting globally. |
This comment was marked as outdated.
This comment was marked as outdated.
regate |
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
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.