-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
clientv3: fix secure endpoint failover, refactor with gRPC 1.22 upgrade #10911
Commits on Jul 26, 2019
-
clientv3: do not use pointer to TransportCredentials interface
Interface in Go is already reference Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 12ab2ee - Browse repository at this point
Copy the full SHA 12ab2eeView commit details -
vendor: upgrade grpc-go to v1.22.1
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4707d7a - Browse repository at this point
Copy the full SHA 4707d7aView commit details -
clientv3/credential: implement grpc/credentials.Bundle
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 324c876 - Browse repository at this point
Copy the full SHA 324c876View commit details -
clientv3: use new "credentials" package
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for db7231a - Browse repository at this point
Copy the full SHA db7231aView commit details -
etcdserver/api/v3rpc: use new "credentials" package
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 7cbe2f5 - Browse repository at this point
Copy the full SHA 7cbe2f5View commit details -
embed: use new "credentials" package
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a6b105a - Browse repository at this point
Copy the full SHA a6b105aView commit details -
clientv3/credentials: set dial target "Authority" with target address
Overwrite authority when it's IP. When user dials with "grpc.WithDialer", "grpc.DialContext" "cc.parsedTarget" update only happens once. This is problematic, because when TLS is enabled, retries happen through "grpc.WithDialer" with static "cc.parsedTarget" from the initial dial call. If the server authenticates by IP addresses, we want to set a new endpoint as a new authority. Otherwise "transport: authentication handshake failed: x509: certificate is valid for 127.0.0.1, 192.168.121.180, not 192.168.223.156" when the new dial target is "192.168.121.180" whose certificate host name is also "192.168.121.180" but client tries to authenticate with previously set "cc.parsedTarget" field "192.168.223.156" Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for db61ee1 - Browse repository at this point
Copy the full SHA db61ee1View commit details -
clientv3: move auth token credential to "credentials" package
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 3dc00ab - Browse repository at this point
Copy the full SHA 3dc00abView commit details -
refactor + remove unused Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 8c7c6ec - Browse repository at this point
Copy the full SHA 8c7c6ecView commit details -
clientv3/integration: give more time for balancer resolution
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for ba42e65 - Browse repository at this point
Copy the full SHA ba42e65View commit details -
integration: match code.Canceled in "TestV3KVInflightRangeRequests"
Match new error codes in gRPC v1.22.0 Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 8a2a951 - Browse repository at this point
Copy the full SHA 8a2a951View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7b8034 - Browse repository at this point
Copy the full SHA a7b8034View commit details