-
Notifications
You must be signed in to change notification settings - Fork 83
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
Fix GCS credentials when no endpoint specified #138
Conversation
64f5834
to
b44ef3a
Compare
} | ||
|
||
setAuthenticationMethod(l, c, opts) | ||
opts = setAuthenticationMethod(l, c, opts) |
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.
🙈
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.
Thanks a lot for your contribution! Another great PR! Thanks a lot for fixing those mistakes ❤️
@kakkoyun could you please update the Docker hub image to include this patch? |
@danihodovic We should release a new version. It's been a while. @seandtaber What do you think? Can someone take look at it on your side? |
Goreleaser has deprecated building Docker images, so you will have to change that too. |
Hey @danihodovic, would you be up for handling it? We always welcome to new contributors 🤗 |
I would, but I'm on a busy schedule for the next month. I've resolved the blocker for myself by modifying the Dockerfile, building manually and pushing to
|
We can take a look at this issue and will respond here when we identify the issue. |
Description
Fixes #137 by not overriding the HTTP client when not necessary.
Without this, GCS errors with 403:
This happens when
GCS_ENDPOINT
isn't set, and the Google SDK is called withoption.WithHTTPClient()
using a custom HTTP client that disables TLS verification.Checklist
Unreleased
section of CHANGELOG.