-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Description
Describe the bug
When configuring Loki 6.2 in Openshift using the Loki operator a secret has to be created to contain AWS credentials for S3, one of the fields is endpoint, as soon as you specify a private VPC S3 endpoint the operator fails to reconcile with:
message: 'Invalid object storage secret contents: endpoint for AWS S3 must include
correct region: https://s3.us-east-1.amazonaws.com'
To Reproduce
Steps to reproduce the behavior:
- Create a LokiStack resource which contains:
secret:
name: logging-loki-s3
type: s3 - In the OCP secret itself use a private VPC S3 endpoint such as https://bucket.vpce-*-us-east-1c.s3.us-east-1.vpce.amazonaws.com
- oc get lokistacks.loki.grafana.com -o yaml, notice the aforementioned error, operator won't reconcile
Expected behavior
Ability to specify a private VPC S3 endpoint.
Environment:
- Infrastructure: Openshift 4.18 in AWS
- Deployment tool: Loki operator