Skip to content

xds: change google_default/compute_engine creds protocol negotiator selection for DirectPath with xDS #8152

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

Merged

Conversation

voidzcy
Copy link
Contributor

@voidzcy voidzcy commented May 7, 2021

gRPC client needs to be able to identify the CFE clusters in order for GoogleDefaultCredentials to choose between ALTS and TLS. The current design has the client identifying the CFE cluster based on the name "google_cfe", but that won't work if there's a different CFE cluster (with a different name) for each DirectPath service.

Based on the new design, TD will generate a CFE cluster called "google_cfe_${service_name}" (e.g., for DirectPath service "cloud-bigtable.googleapis.com", the cluster name will be "google_cfe_cloud-bigtable.googleapis.com") for each DirectPath service. GoogleDefaultCreds will identify CFE clusters by the name having the prefix "google_cfe_".

@voidzcy voidzcy requested a review from dapengzhang0 May 11, 2021 22:04
@voidzcy voidzcy merged commit 505594a into grpc:master May 26, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants