Skip to content

Commit

Permalink
Merge pull request #4018 from as14692/fix-grpcclient-refactor
Browse files Browse the repository at this point in the history
Refactor: move gMSA grpcclient to ecs-agent/
  • Loading branch information
as14692 authored Nov 9, 2023
2 parents 7430801 + 4609629 commit 12aa125
Show file tree
Hide file tree
Showing 15 changed files with 1,215 additions and 15 deletions.
4 changes: 2 additions & 2 deletions agent/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ require (
go.etcd.io/bbolt v1.3.6
golang.org/x/sys v0.13.0
golang.org/x/tools v0.12.0
google.golang.org/grpc v1.56.3
google.golang.org/protobuf v1.30.0
k8s.io/api v0.28.1
)

Expand Down Expand Up @@ -71,6 +69,8 @@ require (
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion agent/taskresource/credentialspec/credentialspec_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (

s3factory "github.com/aws/amazon-ecs-agent/agent/s3/factory"
ssmfactory "github.com/aws/amazon-ecs-agent/agent/ssm/factory"
credentialsfetcherclient "github.com/aws/amazon-ecs-agent/agent/taskresource/grpcclient"
"github.com/aws/amazon-ecs-agent/ecs-agent/credentials"
credentialsfetcherclient "github.com/aws/amazon-ecs-agent/ecs-agent/gmsacredclient"
"github.com/pkg/errors"
)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion agent/vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ github.com/aws/amazon-ecs-agent/ecs-agent/doctor
github.com/aws/amazon-ecs-agent/ecs-agent/ec2
github.com/aws/amazon-ecs-agent/ecs-agent/ec2/mocks
github.com/aws/amazon-ecs-agent/ecs-agent/eventstream
github.com/aws/amazon-ecs-agent/ecs-agent/gmsacredclient
github.com/aws/amazon-ecs-agent/ecs-agent/gmsacredclient/credentialsfetcher
github.com/aws/amazon-ecs-agent/ecs-agent/httpclient
github.com/aws/amazon-ecs-agent/ecs-agent/httpclient/mock
github.com/aws/amazon-ecs-agent/ecs-agent/logger
Expand Down Expand Up @@ -478,7 +480,6 @@ google.golang.org/grpc/serviceconfig
google.golang.org/grpc/stats
google.golang.org/grpc/status
google.golang.org/grpc/tap
google.golang.org/grpc/test/bufconn
# google.golang.org/protobuf v1.30.0
## explicit; go 1.11
google.golang.org/protobuf/encoding/protojson
Expand Down
Loading

0 comments on commit 12aa125

Please sign in to comment.