Skip to content

Error thrown when passing an s3-like endpoint URL with https:// for storage config #2157

Description

@bryanjgilbert

https://github.com/minio/minio-go/blob/9b927a4c27f9a3b3fc3cc98ccf39a51ebae7d261/utils.go#L163C2-L165C3

I am setting up a monitoring k3s cluster using grafana, mimir, loki, and alloy. For mimir, I am configuring it to use openstack ceph RGW as the backend object storage. My mimir pods were failing because I was passing my ceph RGW endpoint which was similar to https://openstack.com:6781, but the conditional check above was failing due to https:// passed in with the URL. This took a while to troubleshoot so I am suggesting a fix be applied here. Passing the endpoint with https:// to the loki service worked just fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions