Skip to content
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

chore: Upgrade aws-sdk-go from 1.44.317 to 1.49.4. #16641

Closed
wants to merge 3 commits into from

Conversation

ROunofF
Copy link
Contributor

@ROunofF ROunofF commented Dec 18, 2023

This update the aws-sdk-go so it will support dynamic auth token (EKS Pod Identities).

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

@ROunofF ROunofF requested a review from a team as a code owner December 18, 2023 19:44
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 104 lines in your changes are missing coverage. Please review.

Comparison is base (23e0d52) 49.51% compared to head (28b55d0) 49.51%.
Report is 61 commits behind head on master.

❗ Current head 28b55d0 differs from pull request most recent head 5657887. Consider uploading reports for the commit 5657887 to get more accurate results

Files Patch % Lines
controller/appcontroller.go 43.82% 43 Missing and 7 partials ⚠️
controller/hook.go 58.87% 29 Missing and 15 partials ⚠️
pkg/apis/application/v1alpha1/types.go 0.00% 6 Missing ⚠️
controller/state.go 70.00% 2 Missing and 1 partial ⚠️
controller/sync.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16641      +/-   ##
==========================================
- Coverage   49.51%   49.51%   -0.01%     
==========================================
  Files         270      271       +1     
  Lines       47505    47664     +159     
==========================================
+ Hits        23524    23602      +78     
- Misses      21669    21731      +62     
- Partials     2312     2331      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tybook
Copy link

tybook commented Jan 3, 2024

Thank you for creating this! I wonder if any of the aws-sdk-go-v2 deps here also need to be updated to fully support EKS Pod Identities? Referencing https://docs.aws.amazon.com/eks/latest/userguide/pod-id-minimum-sdk.html and its link to https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2023-11-14

@ROunofF
Copy link
Contributor Author

ROunofF commented Jan 10, 2024

Thank you for creating this! I wonder if any of the aws-sdk-go-v2 deps here also need to be updated to fully support EKS Pod Identities? Referencing https://docs.aws.amazon.com/eks/latest/userguide/pod-id-minimum-sdk.html and its link to https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2023-11-14

You may be right, not that familiar with // indirect, I'm taking a look

@ROunofF ROunofF marked this pull request as draft January 17, 2024 19:16
@csantanapr
Copy link
Member

I'm collaborating with @ROunofF and we made progress, I was able to authenticate to a remote EKS cluster using the new Pod Identity feature released Nov 2023 instead of using IRSA. There is no code changes required just bumping the version of the aws sdk.

image

EKS Pod Identity Affects 3 capabilities in ArgoCD:

@ROunofF
Copy link
Contributor Author

ROunofF commented Jan 19, 2024

Thank you for creating this! I wonder if any of the aws-sdk-go-v2 deps here also need to be updated to fully support EKS Pod Identities? Referencing https://docs.aws.amazon.com/eks/latest/userguide/pod-id-minimum-sdk.html and its link to https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2023-11-14

The aws-sdk-go-v2 are coming from the notifications-engine. I opened a PR for this : argoproj/notifications-engine#259 (Draft while testing this)

Let us know if this is the right approach to have notifications-engine updated.

@csantanapr
Copy link
Member

There is a new PR that supersedes this one #17063

@blakepettersson
Copy link
Member

Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants