-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support optional/configurable IAMEndpoint for Minio Client (#32581) #32581
Conversation
… using a constant IP address
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
by the way, "app.example.ini" and related documents https://gitea.com/gitea/docs/pulls also need to update 🙏
Wait for config example update before merge. If there is any difficulty, maintainers could also help. |
@wxiaoguang thank you for the feedback, I'll take care of the documentation PR today! |
… into minioIamDiscoverySupport
Added the requested updates for Let me know if there is any feedback on documentation structure or anywhere I missed that I also need to update. Thanks! |
@mowoc-ocp please fix the merge conflicts. 🍵 |
* giteaofficial/main: Support optional/configurable IAMEndpoint for Minio Client (go-gitea#32581) (go-gitea#32581) Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (go-gitea#32570) Apply to became a maintainer (go-gitea#32614)
Targeting issue #32271
This modification allows native Kubernetes + AWS (EKS) authentication with the Minio client, to Amazon S3 using the IRSA role assigned to a Service account by replacing the hard coded reference to the
DefaultIAMRoleEndpoint
with an optional configurable endpoint.Internally, Minio's
credentials.IAM
provider implements a discovery flow for IAM Endpoints if it is not set.For backwards compatibility:
IamEndpoint
to retain the unit test safety inminio_test.go
.http://169.254.169.254
default endpoint that was being hard coded beforeTo test, we were able to build a docker image from source and, observe it choosing the expected IAM endpoint, and see files uploaded via the client.