-
Notifications
You must be signed in to change notification settings - Fork 464
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
Add GatewayParameters CRD for dynamic proxy configuration #9233
Conversation
kubernetes-sigs/gateway-api#2924 has merged |
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
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
GatewayParameters
CRD 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-name
on 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
GetEnvoyImage
func (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: