Skip to content

[RFC-0010] Add multi-tenant workload identity support for AWS Bucket #1868

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

Merged

Conversation

cappyzawa
Copy link
Member

@cappyzawa cappyzawa added area/bucket Bucket related issues and pull requests area/api API related issues and pull requests labels Aug 13, 2025
@cappyzawa cappyzawa force-pushed the feat/bucket-workload-identity-aws branch 4 times, most recently from 3e0213c to 3300705 Compare August 13, 2025 19:08
@cappyzawa cappyzawa marked this pull request as ready for review August 13, 2025 19:24
Copy link
Member

@matheuscscp matheuscscp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good overall, thanks!

@cappyzawa cappyzawa force-pushed the feat/bucket-workload-identity-aws branch 4 times, most recently from 9fe7486 to ef755b2 Compare August 14, 2025 06:52
@matheuscscp
Copy link
Member

Let's not delete this much documentation on this PR, in the past we considered deleting all Workload Identity related documentation and just linking to the full guide and decided not to do that in that moment, we need more time to think how we will do this.

Can you please reset to this commit? 3300705

This one was looking pretty good, I'd like to reboot the review starting from that one

@cappyzawa cappyzawa force-pushed the feat/bucket-workload-identity-aws branch 2 times, most recently from 29b4242 to 6dd483d Compare August 14, 2025 14:45
Copy link
Member

@matheuscscp matheuscscp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cappyzawa Thanks very much for helping ship this RFC!! ❤️

The commit 6dd483d LGTM! 🚀

I was able to test this commit for both controller-level and object-level workload identity with AWS S3 👌

Please rebase and squash after applying the following final diff:

diff --git a/docs/spec/v1/buckets.md b/docs/spec/v1/buckets.md
index 2ce2a88..03e6516 100644
--- a/docs/spec/v1/buckets.md
+++ b/docs/spec/v1/buckets.md
@@ -199,6 +199,8 @@ The Provider allows for specifying the
 [Amazon AWS Region](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions)
 using the [`.spec.region` field](#region).
 
+For detailed setup instructions, see: https://fluxcd.io/flux/integrations/aws/#for-amazon-simple-storage-service
+
 ##### AWS EC2 example
 
 **Note:** On EKS you have to create an [IAM role](#aws-iam-role-example) for

@cappyzawa cappyzawa force-pushed the feat/bucket-workload-identity-aws branch from 6dd483d to 041aa6c Compare August 14, 2025 17:36
@matheuscscp matheuscscp merged commit 5f9702b into fluxcd:main Aug 14, 2025
8 checks passed
@cappyzawa cappyzawa deleted the feat/bucket-workload-identity-aws branch August 14, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests area/bucket Bucket related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants