Skip to content

Add configuration for "UsePathStyle" for s3 #2237

@gfaraj

Description

@gfaraj

Is your feature request related to a problem?
I'm trying to get ACK working with minikube and localstack and running into a problem when AWS SDK tries to build the endpoint for creating a new S3 bucket.

Here's the log message from the s3 controller:

{"level":"error","ts":"2025-01-10T00:06:34.501Z","msg":"Reconciler error","controller":"bucket","controllerGroup":"s3.services.k8s.aws","controllerKind":"Bucket","Bucket":{"name":"my ││ -cool-test-bucket","namespace":"default"},"namespace":"default","name":"my-cool-test-bucket","reconcileID":"29a0e3a9-816e-4460-8f25-1d6e14efd02f","error":"InternalError: exception wh ││ ile calling s3 with unknown operation: Unable to find operation for request to service s3: PUT /\n\tstatus code: 500, request id: 1eaffae4-4e3c-4b8c-95cf-b9331cfdc290, host id: s9lzH ││ YrFp76ZVxRcpX9+5cjAnEH2ROuNkd2BHfIa6UkFVdtjf5mKR3/eTPFvsiP/XV/VLi31234=","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/ ││ go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWork ││ Item\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start. ││ func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:224"}

Describe the solution you'd like
Provide a configuration flag to enable this option.

Describe alternatives you've considered
Don't know of any alternatives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-investigationIndicates an issue needs some investigation.service/s3Indicates issues or PRs that are related to s3-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions