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

S3 authentication via IAM profiles #17

Open
robholland opened this issue Sep 15, 2016 · 2 comments
Open

S3 authentication via IAM profiles #17

robholland opened this issue Sep 15, 2016 · 2 comments

Comments

@robholland
Copy link

It doesn't seem that objstorage supports IAM instance profiles. With deis workflow v2.5.0 installed via helmc dockerbuilder fails with an access denied message from S3 when trying to deploy via git:

https://github.com/deis/dockerbuilder/blob/master/rootfs/deploy.py#L91

The tar file it is trying to download had been successfully uploaded to the bucket, so the S3 IAM profile system is working elsewhere in deis.

@kmala
Copy link

kmala commented Sep 15, 2016

this should be working as per me...can you say what your object secret is kubectl --namespace=deis describe secret objectstorage-keyfile

@robholland
Copy link
Author

I've now changed it to add credentials, but it had region, builder-bucket, database-bucket, registry-bucket all set, and "accesskey: null", "secretkey: null".

Now that I've set accesskey and secretkey (leaving the other settings unchanged) and everything is working as intended. Previously some parts of deis worked but dockerbuilder didn't.

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

No branches or pull requests

2 participants