-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Initial implementation of Helm Renderer #3929
Initial implementation of Helm Renderer #3929
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
7e2d0c3
to
572fd3d
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Codecov Report
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
83f67a1
to
36b12b0
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
At a glance this also fixes a bug where the namespace specified with |
99837b5
to
68f28bd
Compare
I rebased the branch to the latest master |
68f28bd
to
b380029
Compare
I rebased once more. Is there anything I am missing to get a review? I don't want this to be forgotten, maybe I have done something wrong but I can't seem to find anythin on |
b380029
to
59c9f62
Compare
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.
@tete17 thanks so much for the contribution, and sorry for the late review! I left a few comments but this is actually looking pretty good. it would be great to get an integration test for this as well - would you mind adding a quick test case or two to pkg/integration/render_test.go
? you can model it after the existing tests there for the other renderers.
94464ed
to
6c50014
Compare
@nkubala Thank you very much for the review. I hope I didn't gave the impression of desperate 😆 by asking for a review. I went ahead and I think addressed all of your comment, as well as rebasing to the latest master. Took me a bit of time but I also added some integrations tests. Let me know if you think we can add more content to them. |
2c5d425
to
aa135e4
Compare
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.
@tete17 this looks great! see my comment about the change to how we process the helm values from the skaffold.yaml, I think we should move that to a separate PR. once you take that out this LGTM and I'll merge it!
a032b79
to
5996138
Compare
I used this chance to rebase once more and cleanup the commits to make a nice git history. Take it from here @nkubala |
2f28c54
to
4ce49db
Compare
@nkubala can you review? |
4ce49db
to
8a00464
Compare
I went ahead and rebased once more to fix the conflicts introduced in #4169 |
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.
LGTM, thanks so much for all your hard work getting this one in @tete17!
My pleasure thanks to @nkubala & @tstromberg for the constant reviews. I also wonder is we could use this chance to also move |
Related:#1937
Description
This PR should add Render capabilities to the Helm deployer.
I have added support for the following feature:
I hope this is enough, If I have missed some that are consider a must please let me know. I have also tried having a good support between Helm v3 and v2.
User facing changes (remove if N/A)
The only user facing change (except the obvious addition of
skaffold render
for helm, can bee seen here.I have changed this behaviour because it was assuming all members of the
values
map were supposed to be images built by skaffold. This is use to make skaffold replace the images by the combination of the image:tag in the manifest.I have modified so it only looks for the appropiate images and doesn't fail if you add something like
This lead me to modify certain unit tests accordingly. I am not entirely sure about this change I am by no means and expert in helm so feedback is highly welcomed.
It is also my first contribution to a go project so please be gentle 😄. I hope I followed best practice I have a feeling I am duplicating some code so please let me know if someone else also has that feeling.