-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(ingress): aws alb #294
feat(ingress): aws alb #294
Conversation
Hello @Hunter-Thompson, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project. Please help complete the Mattermost contribution license agreement? This is a standard procedure for many open source projects. Please let us know if you have any questions. We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team. |
/check-cla |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
Hey @Hunter-Thompson, just checking in to see if you are still working on this PR. We have been keeping an eye on it while you have had it opened as a draft. Let us know if you want to chat about anything regarding this functionality. Thanks! |
@gabrieljackson went away for awhile. Il be working on it this week. Quick question, has Do I have to make changes in both places or is |
Hey @Hunter-Thompson, yes only updating Let us know if you need any additional support with this. |
69d49f0
to
1c1b21b
Compare
@gabrieljackson could you have a look at the API and let me know if youd like changes? If no changes are required - Il start writing unit tests. |
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.
Thanks for the PR!
Regarding the API, since it impacts both creation of service and ingress, I suppose it makes sense to keep it as a separate spec field. I am a bit worried about complexity implications, but it does look like a useful feature.
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.
@Hunter-Thompson let us know if you need any support making the change that @Szymongib proposed. Thanks!
@gabrieljackson I've made the changes proposed. If the API looks good, I can start testing in my local Kubernetes cluster and also write unit tests. |
63e6e51
to
16b8777
Compare
16b8777
to
ceae93a
Compare
weird interaction with GetIngressEnabled, it returns true by default this could be a problem when checking for other ingress options like aws ingress
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.
Hey @Hunter-Thompson, thanks a lot for your contribution! It took me a while to get up to speed with everything so apologies for the delayed response!
I've reviewed your contribution and it's good to go for the most part, but I've added some comments regarding naming conventions, some clauses I found confusing and testing coverage. Please check them out and reach out if you have any questions.
Again, thank you for your time on this! Greatly appreciated.
Edited: Actually though about this but didn't wrote it for whatever reason, so just dumping this here for the future: Just wondering since we're going to have one ingress only if we should encapsulate logic for ingresses in our own custom type, same as we do for other things. Right now logic is straightforward for the supported ones, but that would get crazy with time, so just throwing this idea out in the open.
@fmartingr, thanks for review. Ive pushed a new commit addressing some of the points. Il start working on better tests soon. |
Awesome, thanks! Just re-request my review or ping me once you're done so I can take a look :) |
@fmartingr, I changed the tests a bit, and added a few new ones. It covers:
Could you 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.
Hey @Hunter-Thompson, thanks for taking care of that! It looks good to me. @gabrieljackson I've re-requested your 👀 's here as well.
Did you get a chance to review @gabrieljackson? |
bump |
Hey @mirshahriar, since Gabe is pretty busy, would you mind taking a look at this? |
I'll have a look today. |
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.
I added a few comments.
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. Thank you for your time and work.
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.
Thanks for working with us to get this ready to be merged! It will be included in the next operator release.
TODO:
Summary
Add option for AWS ALB Ingress
See:
Issue Link
Fixes #293
API
Release Note