-
Notifications
You must be signed in to change notification settings - Fork 471
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
Pass xds host/port to controller #10688
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jenny Shu <[email protected]>
Signed-off-by: Jenny Shu <[email protected]>
…ds-host Signed-off-by: Jenny Shu <[email protected]>
Signed-off-by: Jenny Shu <[email protected]>
…ds-host Signed-off-by: Jenny Shu <[email protected]>
Signed-off-by: Jenny Shu <[email protected]>
pkg/utils/kubeutils/names.go
Outdated
GlooXdsPortName = "grpc-xds" | ||
// GetXdsServiceName returns the name of the Kubernetes Service that serves xDS config. | ||
func GetXdsServiceName() string { | ||
if name := os.Getenv("XDS_SERVICE_NAME"); name != "" { |
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.
any reason to not treat these as "settings"? (ref:. #10666 (comment))
not blocking but would prefer to keep things consistent (even if we do end up moving away from envconfig
)
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.
it was just quicker to plumb through this way, and we have an issue filed for later to consolidate the ways we pass config. but mostly, it's because i forgot about your comment til after i already implemented it haha. but i think it's a good idea, let me try using the Settings
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
…ds-host Signed-off-by: Jenny Shu <[email protected]>
Signed-off-by: Jenny Shu <[email protected]>
Fixes #10659
Fixes #10660