-
Notifications
You must be signed in to change notification settings - Fork 53
Add Route to RouteTable using ACK runtime v0.15.2
#21
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
Conversation
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.
Awesome use of the custom list fields - glad to see it came in handy. Left some inline comments, especially regarding removing generated code that you would otherwise need to maintain.
apis/v1alpha1/generator.yaml
Outdated
fields: | ||
Routes: | ||
custom_field: | ||
list_of: Route |
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.
So clean ❤️
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.
So fresh.
Taking a look at failing Spoiler: it was |
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.
nice! A few comments and questions, feel free to take them or leave them
apis/v1alpha1/generator.yaml
Outdated
fields: | ||
Routes: | ||
custom_field: | ||
list_of: Route |
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.
So fresh.
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.
All good with me. If @RedbackThomson and @bwagner5 want to send it on its merry way, that would be cool. :)
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 awesome, thanks @brycahta! @RedbackThomson feel free to send this on its merry way if you agree.
Generate create, delete and setter for Route
/test ec2-kind-e2e |
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.
Awesome. This is in a great spot, now! I really don't see any compromises for users or for yourself as the maintainer.
Ship it!
/lgtm
// Routes should only be configurable for the | ||
// RouteTable in which they are defined | ||
input.RouteTableId = r.ko.Status.RouteTableID |
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.
+1
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brycahta, jaypipes, RedbackThomson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Issue #, if available: aws-controllers-k8s/community#489
Description of changes:
route
from Status to Spec so users can define Routes upon RouteTable creationBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.