-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 GW API] Add initial reconciler + grant enforcement #4125
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zac-nixon 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 |
pkg/config/feature_gates.go
Outdated
LBCapacityReservation Feature = "LBCapacityReservation" | ||
SubnetDiscoveryByReachability Feature = "SubnetDiscoveryByReachability" | ||
GatewayAPI Feature = "ELBGatewayAPI" |
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.
Shall we have separate flags for ALB and NLB gateway controllers? This way we can separate out the standard and experimental versions for conformance tests if needed.
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.
Good idea.
- apiGroups: | ||
- gateway.networking.k8s.io | ||
resources: | ||
- udproutes/status |
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.
TODO for me: Add L7 routes
controllers/gateway/constants.go
Outdated
albGatewayController = "gateway.k8s.aws/alb" | ||
|
||
// albGatewayTagPrefix the tag applied to all resources created by the ALB Gateway controller. | ||
albGatewayTagPrefix = "gateway.k8s.aws.nlb" |
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.
NIT: gateway.k8s.aws.alb
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. will fix
controllers/gateway/constants.go
Outdated
|
||
const ( | ||
// nlbGatewayController gateway controller name for NLB | ||
nlbGatewayController = "gateway.k8s.aws/nlb" |
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.
Consider making these constants with a CapitalCase
name (e.g., NlbGatewayController
) so that it can be accessed by event handlers and other packages.
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.
done
pkg/config/feature_gates.go
Outdated
@@ -24,7 +24,8 @@ const ( | |||
ALBSingleSubnet Feature = "ALBSingleSubnet" | |||
LBCapacityReservation Feature = "LBCapacityReservation" | |||
SubnetDiscoveryByReachability Feature = "SubnetDiscoveryByReachability" | |||
GatewayAPI Feature = "ELBGatewayAPI" | |||
NLBGatewayAPI Feature = "NLBELBGatewayAPI" |
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.
nit: Can we just simply name them NLBGatewayAPI
and ALBGatewayAPI
?
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.
done
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
/lgtm |
Issue
Description
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯