-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Velero cannot authenticate to s3 buckets using IAM integrated service-accounts #1965
Comments
@geofffranks take a look at #1962 for some context - the TLDR is that we should be able to support this in v1.2 since we've updated the SDK. v1.2 is scheduled for release around the end of the month. |
Closing this out as this should be resolved in the upcoming v1.2 release - feel free to reach out again as needed! |
I have a similar problem. Please tell me how can I fix this? I try with version 1.2, it still fails authorization. Maybe there are some other ways to put a backup in s3 using a velero? |
@IlyaNakhaichuk Can you please share how you are installing Velero? and also confirm that the credentials file you are using is in the expected format? You can find more instructions here https://github.com/vmware-tanzu/velero-plugin-for-aws#option-1-set-permissions-with-an-iam-user |
What steps did you take and what happened:
We're trying to set up velero to talk to S3 using the IAM role/policy given to our velero service account, following the instructions here: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html on our EKS cluster.
What did you expect to happen:
Velero would be able to start and talk to S3. Instead, it is failing.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
No backups taken, velero won't launch as it can't talk to the S3 bucket
Anything else you would like to add:
Tried this in both velero 1.0.0 and velero 1.1.0, using the following installation params:
./velero install --no-secret --bucket our-s3-bucket --provider aws --backup-location-config region=us-east-1
Environment:
velero version
):velero client config get features
):kubectl version
):EKS v1.14
AWS
/etc/os-release
):Amazon Linux 2
The text was updated successfully, but these errors were encountered: