-
Notifications
You must be signed in to change notification settings - Fork 303
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 util functions for backendConfig annotation #247
Conversation
LGTM, will let bowei@ verify annotation value structure is as desired. |
e9cdf50
to
70eedf1
Compare
Revised and added |
2ed904d
to
75698ea
Compare
Updated to add one more |
pkg/annotations/service.go
Outdated
@@ -40,6 +40,15 @@ const ( | |||
// 3. Adding this annotation on ingress. | |||
NetworkEndpointGroupAlphaAnnotation = "alpha.cloud.google.com/load-balancer-neg" | |||
|
|||
// BackendConfigKey is a stringified JSON with two fields: | |||
// - "ports": a map of port names to backendConfig names |
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.
port names or port numbers? Or just port names?
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, changed to "port names or port numbers".
75698ea
to
f5bd393
Compare
/lgtm |
/assign @nicksardo @bowei