Skip to content

cleanup: remove minio defaults from broker, pass through operator env vars#119

Merged
novatechflow merged 1 commit intoKafScale:mainfrom
klaudworks:fix/remove-minio-defaults
Feb 28, 2026
Merged

cleanup: remove minio defaults from broker, pass through operator env vars#119
novatechflow merged 1 commit intoKafScale:mainfrom
klaudworks:fix/remove-minio-defaults

Conversation

@klaudworks
Copy link
Collaborator

@klaudworks klaudworks commented Feb 28, 2026

The broker had hardcoded minio defaults (bucket kafscale, endpoint http://127.0.0.1:9000, credentials minioadmin:minioadmin). When S3 env vars were empty or missing, it silently fell back to these, even in real deployments.

This caused a problem when deploying to AWS: setting region and bucket but not endpoint (correct for real S3) still resulted in the endpoint defaulting to http://127.0.0.1:9000.

The better default is AWS, the SDK can infer the endpoint from the region. A custom self-hosted endpoint can never be inferred, so that's what you should have to opt into explicitly, that's what people are used to from tools relying on the AWS SDK.

The minio/minio repo is now archived. All other code in this repo (Makefile, e2e tests, demo scripts) already passes S3 config explicitly, nothing depended on these minio broker defaults that can be explicitly set if needed.

This also passes through a few env vars that the operator wasn't forwarding to broker and etcd containers.

@klaudworks klaudworks force-pushed the fix/remove-minio-defaults branch from b964874 to 22b8dd2 Compare February 28, 2026 10:09
@klaudworks klaudworks changed the title Remove minio defaults from broker, pass through operator env vars cleanup: remove minio defaults from broker, pass through operator env vars Feb 28, 2026
@novatechflow
Copy link
Collaborator

Good catch - that's from the first tests we did! Thanks!

Copy link
Collaborator

@novatechflow novatechflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch!

@novatechflow novatechflow merged commit 446b765 into KafScale:main Feb 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants