-
Notifications
You must be signed in to change notification settings - Fork 104
Add helm, helm_info, and helm_repository modules #61
Add helm, helm_info, and helm_repository modules #61
Conversation
Codecov Report
@@ Coverage Diff @@
## master #61 +/- ##
=======================================
Coverage 43.33% 43.33%
=======================================
Files 3 3
Lines 540 540
Branches 109 109
=======================================
Hits 234 234
Misses 263 263
Partials 43 43 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor questions, for the most part looks good to me though, nice work on all the testing
I'm excited about this PR and watching it for updates. I'm testing this out locally and notice that we might need a way to add helm repos before updating the cache. Thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me, only question is do you think it makes sense to combine helm 2 + 3 into the same module or would it make sense to add a module_utils
for shared logic and separate 2 and 3 into separate modules? I'm fine with either one, and I'm not super familiar with the differences.
I was looking into what kind of support cycle there will be for Helm 2, because it would be nice to make a clean break (for some of the reasons @fabianvf pointed out with auth, mainly) and not have to support both 2 and 3... Looking in the release notes for the last 2.x version, it states:
So, Helm 3 was released on November 13, 2019, meaning:
Since this is a new module, and Helm 2 is already on the way out... what do others think about only supporting Helm 3 out of the gate? |
Helm 2 bug fixes has been prolonged to 13 August but I'm agree to drop helm 2 support. For the auth part, i think the best solution is to outsource it and let users manage it. We can mention them in the doc for more precision |
Agree that this should only be for |
CI seems to be broken
After investigation, the issue provide from ansible-devel, installed from this task:
Ansible 2.9 seems to have no issue |
@LucasBoisserie - Thanks for the update—it looks like there's a fix upstream already for ansible/ansible base, but the current GitHub outage is causing some delays in releasing it :( Once that's through, someone can kick a re-test. I'm hoping we can get this merged before the end of the week! |
@LucasBoisserie - For some reason now GitHub actions isn't even able to check out the code. I wonder if maybe one of your latest pushes didn't reach the repo correctly due to instability this morning (or if GitHub Actions is still experiencing weird outages)? |
@LucasBoisserie - I just fixed the annoying GitHub Actions issue that is causing the new failures with your latest commit (see #78) — can you rebase your branch and push it to kick off a new run using the new CI configuration? |
Thanks @geerlingguy, the CI works well ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly some english grammar cleanup notes—but also left a couple pertinent questions (one is renaming modules possibly?).
molecule/default/roles/helm/templates/tiller-clusterRoleBinding.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about missing these in the last review...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
I think this PR's been through the wringer, but is quite ready for a merge. Barring any further objections, I think it would be best to merge it and release a new collection version (0.11.0) by the end of this week. |
SUMMARY
Add helm, helm_info, and helm_repository modules to manage helm deployment inside kubernetes cluster
Fix: ansible/ansible#61546
Original PR on ansible repo: ansible/ansible#62450
ISSUE TYPE
COMPONENT NAME
helm
helm_info
helm_repository
ADDITIONAL INFORMATION
Tests are enabled only for Helm 3
Helm 2 support has been dropped