pkg
pkg copied to clipboard
feat: Add support for session tokens to S3 client
This PR adds support for the S3 client to use ephemeral IAM credentials (e.g. an access/secret key pair + session token obtain through an assume role operation) or to use the new S3 access grants feature.
This is a pre-requisite to https://github.com/argoproj/argo-workflows/issues/5446
The relevant PR in Argo Workflows is here: https://github.com/argoproj/argo-workflows/pull/12467
I found the contributing guidelines for Argo Workflows, but couldn't find anything for this specific repo, so please let me know if anything is missing. Thank you!
I pretty much duplicated a test for the new ephemeral credentials which looks like it's failing the duplicated code quality gate. I've just pushed up a new commit which minimises the number of options checked in the test.
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@alexmt @crenshaw-dev @sarabala1979 could one of you also please help review and merge this?
code seems sensible, have you tested this end to end though ?
@isubasinghe Yep, it's been tested e2e. We are currently running the fork of Argo Workflows I have in https://github.com/argoproj/argo-workflows/pull/12467 and it works correctly.
Any update on this? @isubasinghe 🙏
This is blocked on the two CI checks which don't seem to have run. They don't seem to run for other changes too.
Is there a maintainer who would be able to kick off the builds? I don't believe I have permission to
Try rebase and push again, that sounds trigger it
On Tue, 25 Jun 2024, 06:46 Raymond, @.***> wrote:
Is there a maintainer who would be able to kick off the builds? I don't believe I have permission to
— Reply to this email directly, view it on GitHub https://github.com/argoproj/pkg/pull/596#issuecomment-2188027862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACELYCBKOGFJM474GK45YDZJD725AVCNFSM6AAAAABBMFWBGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGAZDOOBWGI . You are receiving this because you commented.Message ID: @.***>
Still the same. I had tried this before and it still requires workflow approval from a maintainer.
The rules in this repo are not the same as in the main repositories, I've set it running for you
Awesome, thanks @Joibel!
@keymon I'll get to the Workflows PR some time in the next couple days