Skip to content

Commit

Permalink
bump google.golang.org/grpc v1.67 (#4390)
Browse files Browse the repository at this point in the history
* bump grpc

Signed-off-by: zirain <zirain2009@gmail.com>

* 1.67.1

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Oct 9, 2024
1 parent 2f67765 commit 93a0561
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ require (
require (
github.com/docker/docker v27.3.1+incompatible
github.com/replicatedhq/troubleshoot v0.105.2
google.golang.org/grpc v1.66.2
google.golang.org/grpc v1.67.1
sigs.k8s.io/kubectl-validate v0.0.5-0.20240827210056-ce13d95db263
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1092,8 +1092,8 @@ google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQ
google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo=
google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
Expand Down
1 change: 1 addition & 0 deletions internal/gatewayapi/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ func (r *Runner) tlsConfig() (*tls.Config, error) {
// Configure the server to require client certificates
return &tls.Config{
Certificates: []tls.Certificate{serverCert},
NextProtos: []string{"h2"},
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: caCertPool,
MinVersion: tls.VersionTLS13,
Expand Down
1 change: 1 addition & 0 deletions internal/globalratelimit/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func (r *Runner) tlsConfig(cert, key, ca string) *tls.Config {

return &tls.Config{
Certificates: []tls.Certificate{cert},
NextProtos: []string{"h2"},
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: certPool,
MinVersion: tls.VersionTLS13,
Expand Down
1 change: 1 addition & 0 deletions internal/xds/server/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ func (r *Runner) tlsConfig(cert, key, ca string) *tls.Config {

return &tls.Config{
Certificates: []tls.Certificate{cert},
NextProtos: []string{"h2"},
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: certPool,
MinVersion: tls.VersionTLS13,
Expand Down
1 change: 1 addition & 0 deletions internal/xds/server/runner/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func tryConnect(address string, clientCert tls.Certificate, caCertPool *x509.Cer
ServerName: "localhost",
MinVersion: tls.VersionTLS13,
Certificates: []tls.Certificate{clientCert},
NextProtos: []string{"h2"},
RootCAs: caCertPool,
}
conn, err := tls.Dial("tcp", address, clientConfig)
Expand Down

0 comments on commit 93a0561

Please sign in to comment.