notifications-engine icon indicating copy to clipboard operation
notifications-engine copied to clipboard

Update aws-sdk-go-v2 for EKS Pod Identities

Open ROunofF opened this issue 1 year ago • 3 comments

Update aws-sdk-go-v2 to support EKS Pod Identities

Will update the indirect in https://github.com/argoproj/argo-cd/pull/16641

ROunofF avatar Jan 19 '24 14:01 ROunofF

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c02dc5f) 55.13% compared to head (6cb32f9) 55.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
+ Coverage   55.13%   55.19%   +0.05%     
==========================================
  Files          35       35              
  Lines        3337     3339       +2     
==========================================
+ Hits         1840     1843       +3     
+ Misses       1230     1229       -1     
  Partials      267      267              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 19 '24 15:01 codecov[bot]

Was testing this patch and sqs notifications are failing

time="2024-01-21T04:50:06Z" level=error msg="Got an error getting the queue URL: not found, ResolveEndpointV2"
time="2024-01-21T04:50:06Z" level=error msg="Failed to notify recipient {awssqs ArgoCDNotifications} defined in resource argocd/workload-dev: not found, ResolveEndpointV2 using the configuration in namespace argocd" resource=argocd/workload-dev

I tried with and without specifying account/region/endpointUrl

It looks like there is a problem with the sdk version, we might need to update more components to latest like aws-sdk-go-v2/service/sqs I found this issue https://github.com/aws/aws-sdk-go-v2/issues/2370

csantanapr avatar Jan 21 '24 05:01 csantanapr

@ROunofF I sent you a PR to fix the sqs issue, I tested and it works https://github.com/ROunofF/notifications-engine/pull/1

csantanapr avatar Jan 22 '24 03:01 csantanapr

@todaywasawesome @crenshaw-dev would you be kind to review this PR? 🙏

csantanapr avatar Jan 25 '24 03:01 csantanapr

Thank you @crenshaw-dev 🎉

csantanapr avatar Jan 26 '24 14:01 csantanapr