You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In older versions of thanos/store (v0.3.2) I was able to use my google json auth file to authenticate to the google bucket. In version v0.6.0, I now get the error message:
level=error ts=2019-10-11T01:02:46.003731179Z caller=main.go:184 err="store command failed: create bucket client: create GCS client: failed to create credentials from JSON: invalid character '/' looking for beginning of value"
Hi @analogpixel,
The service_account field expects the user to provide an inline service account, e.g.
...
service_account: |-{...}
See [0] for more details.
If you want to provide a file name rather than inline the file in the configuration, then you only need to specify the bucket field and provide the GOOGLE_APPLICATION_CREDENTIALS environment variable to Thanos. See [1] for more details.
Note: this functionality was added in 0.4.0 [2] in PR #963.
Google Cloud Storage
In older versions of thanos/store (v0.3.2) I was able to use my google json auth file to authenticate to the google bucket. In version v0.6.0, I now get the error message:
level=error ts=2019-10-11T01:02:46.003731179Z caller=main.go:184 err="store command failed: create bucket client: create GCS client: failed to create credentials from JSON: invalid character '/' looking for beginning of value"
relevant kubernetes config
/etc/thanos-bucket/bucket-config.yaml
The only thing that I change the causes it to break is the thanos version.
The text was updated successfully, but these errors were encountered: