-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Remove dependency on STS v1 by removing the need to use aws-iam-authenticator for token generation #5016
Conversation
@@ -213,15 +207,6 @@ func New(spec *api.ProviderConfig, clusterSpec *api.ClusterConfig) (*ClusterProv | |||
provider.ec2 = ec2.New(s) | |||
provider.elb = elb.New(s) | |||
provider.elbv2 = elbv2.New(s) | |||
provider.sts = sts.New(s, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This remove will make it easier for the V2 to be renamed in the coming PR.
Manual Test
delete
|
@@ -1,5 +1,7 @@ | |||
# options for analysis running | |||
run: | |||
go: '1.18' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently, this was needed for the ci to work properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😁 ! Worth waiting for 3 reviewers IMO as its a bit complex. Also worth an integration test run? Or does the change not affect how we do our auth in CI?
I ran a couple locally, it's basically like this... if it doesn't work on |
@Skarlso can you fix the conflicts before I start reviewing? |
@cPu1 done with the conflict. :) |
…nticator for token generation (eksctl-io#5016) * Removing STS * Deleted the wrapper as it is no longer needed * Created an Interface for the Presign function * Extracted the generator and wrote a proper interface and mocks for the presign call * Postfilled a unit test * Added custom endpoint resolution * Put back the endpoint mapping malaka * Extract header function * Adjusted to review and removed whitelisted header
Description
Closes #4993 by removing the aws-iam-authenticator dependency completely.
Added some removal of STSv1 as well, but did not yet rename STSV2. That will be in the next PR.
Checklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯