kube2iam icon indicating copy to clipboard operation
kube2iam copied to clipboard

feat: support IMDSv2 ( use aws-go-sdk-v2 )

Open Insidexa opened this issue 2 years ago • 0 comments

What this PR does / why we need it:

  1. Support EKS 1.22
  2. Using IMDSv2 from server definition, before this server healthcheck made metadata request without token and healthcheck go to fail state. After healthcheck is failed any pods can't AssumeRole as I correct understood
  3. Upgraded aws-go-sdk to v2 that send token automatically

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #339
  • fixes #325

Special notes:

  • Use aws-go-sdk-v2
  • The aws-go-sdk-v2 requires a minimum version of Go 1.15
  • Support EKS 1.22

Checklist chart

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • [ ] Chart Version bumped
  • [ ] Variables are documented in the README.md

Insidexa avatar Aug 06 '22 11:08 Insidexa