Skip to content

Commit 66359ec

Browse files
committed
remove setting s3forcepathstyle to false
1 parent 58da506 commit 66359ec

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

operator/internal/manifests/internal/config/build_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -2575,7 +2575,6 @@ common:
25752575
region: us-east
25762576
access_key_id: ${AWS_ACCESS_KEY_ID}
25772577
secret_access_key: ${AWS_ACCESS_KEY_SECRET}
2578-
s3forcepathstyle: false
25792578
compactor_grpc_address: loki-compactor-grpc-lokistack-dev.default.svc.cluster.local:9095
25802579
ring:
25812580
kvstore:

operator/internal/manifests/internal/config/loki-config.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ common:
3838
region: {{ .Region }}
3939
access_key_id: ${AWS_ACCESS_KEY_ID}
4040
secret_access_key: ${AWS_ACCESS_KEY_SECRET}
41-
{{- if isEndpointAWS .Endpoint }}
42-
s3forcepathstyle: false
43-
{{- else }}
41+
{{- if not (isEndpointAWS .Endpoint) }}
4442
s3forcepathstyle: true
4543
{{- end }}
4644
{{- end }}

0 commit comments

Comments
 (0)