-
Notifications
You must be signed in to change notification settings - Fork 612
Add GatewayParameters CRD for dynamic proxy configuration #9233
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
|
kubernetes-sigs/gateway-api#2924 has merged |
lgadban
left a comment
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 looks really good!
Nothing too controversial in my eyes.
Just a couple of questions/comments; will do another quick pass tomorrow morning
projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto
Show resolved
Hide resolved
howardjohn
left a comment
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.
Overall LGTM
Description
Add support for customization of the dynamically provisioned proxy resources in Gloo Gateway. The customization is done via a new
GatewayParametersCRD which enables configuring various aspects of the resources (deployment, service, etc) that are created by the GG deployer. A GatewayParameters is attached to a Gateway via an annotationgateway.gloo.solo.io/gateway-parameters-nameon the Gateway, which points to the name of a GatewayParameters in the same namespace as the Gateway.Example configuration of a Gateway and GatewayParameters is shown below (not valid values, just showing what all the configurable fields are):
Code changes
GetEnvoyImagefunc (which returns different values in OSS vs EE) in K8sGatewayExtensions, which is passed to the GG deployer. Removed the temporary K8sGatewayExtensions workaround that was being used before.Notes:
Testing:
Checklist: