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

Enable Path Style for S3 integration #2602

Closed
bradrydzewski opened this issue Feb 21, 2019 · 0 comments · Fixed by #2610
Closed

Enable Path Style for S3 integration #2602

bradrydzewski opened this issue Feb 21, 2019 · 0 comments · Fixed by #2610

Comments

@bradrydzewski
Copy link

this was initially discussed in #2600

add the following parameters:

  • DRONE_S3_SKIP_VERIFY=false
  • DRONE_S3_PATH_STYLE=false

and use when setting the aws configuration in store/logs/s3.go

&aws.Config{
  Endpoint: aws.String(endpoint),
+ DisableSSL: aws.Bool(skipverify),
+ S3ForcePathStyle: aws.Bool(pathstyle),
}

reference implementation:
https://github.com/minio/cookbook/blob/master/docs/aws-sdk-for-go-with-minio.md

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

Successfully merging a pull request may close this issue.

1 participant