Skip to content

Commit

Permalink
chore(deps): bump google.golang.org/grpc from v1.42.0 to v1.43.0 (arg…
Browse files Browse the repository at this point in the history
…oproj#1579)

Signed-off-by: William Van Hevelingen <[email protected]>
Signed-off-by: Julie Vogelman <[email protected]>
  • Loading branch information
blkperl authored and juliev0 committed Feb 3, 2022
1 parent 31f6172 commit ffb402f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion eventsources/sources/generic/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"go.uber.org/zap"
"google.golang.org/grpc"
"google.golang.org/grpc/connectivity"
"google.golang.org/grpc/credentials/insecure"
"google.golang.org/grpc/metadata"

"github.com/argoproj/argo-events/common"
Expand Down Expand Up @@ -123,7 +124,7 @@ func (el *EventListener) connect() (Eventing_StartEventSourceClient, error) {
var opt []grpc.DialOption
opt = append(opt, grpc.WithBlock())
if el.GenericEventSource.Insecure {
opt = append(opt, grpc.WithInsecure())
opt = append(opt, grpc.WithTransportCredentials(insecure.NewCredentials()))
}
conn, err := grpc.DialContext(context.Background(), el.GenericEventSource.URL, opt...)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ require (
go.uber.org/zap v1.20.0
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871
google.golang.org/api v0.65.0
google.golang.org/grpc v1.42.0
google.golang.org/grpc v1.43.0
gopkg.in/jcmturner/gokrb5.v5 v5.3.0
k8s.io/api v0.22.2
k8s.io/apimachinery v0.22.2
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1699,8 +1699,9 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD
google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
google.golang.org/grpc v1.42.0 h1:XT2/MFpuPFsEX2fWh3YQtHkZ+WYZFQRfaUgLZYj/p6A=
google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
google.golang.org/grpc v1.43.0 h1:Eeu7bZtDZ2DpRCsLhUlcrLnvYaMK1Gz86a+hMVvELmM=
google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
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=
Expand Down
3 changes: 2 additions & 1 deletion sensors/triggers/custom-trigger/custom-trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/connectivity"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"
"k8s.io/apimachinery/pkg/util/wait"

"github.com/argoproj/argo-events/common"
Expand Down Expand Up @@ -71,7 +72,7 @@ func NewCustomTrigger(sensor *v1alpha1.Sensor, trigger *v1alpha1.Trigger, logger

opt := []grpc.DialOption{
grpc.WithBlock(),
grpc.WithInsecure(),
grpc.WithTransportCredentials(insecure.NewCredentials()),
}

if ct.Secure {
Expand Down

0 comments on commit ffb402f

Please sign in to comment.