Skip to content

wip: replacing deprecated minio with rustfs for quickstart#675

Open
shano wants to merge 4 commits intomainfrom
chore/quickstart-minio-to-rustfs
Open

wip: replacing deprecated minio with rustfs for quickstart#675
shano wants to merge 4 commits intomainfrom
chore/quickstart-minio-to-rustfs

Conversation

@shano
Copy link
Copy Markdown
Contributor

@shano shano commented Jan 16, 2026

What this change does

  • Replaces the MinIO dev statestore used by scripts/quick-start.sh with RustFS (S3‑compatible) while keeping the same statestore flow.
  • Updates the quick‑start wiring, sample BucketStateStore, and install manifest to point at the RustFS service/credentials.
  • Renames Kubernetes resources from minio* to rustfs* for clarity.

Why we moved namespaces

  • RustFS reads credentials from a Kubernetes Secret mounted into the Deployment. Since the RustFS pod runs in kratix-platform-system, the secret must live in the same namespace (Kubernetes secrets are namespace‑scoped).
  • MinIO worked with the secret in default because the MinIO pod did not consume that secret; only the bucket‑creation job did. With RustFS, the pod itself needs the secret.

Testing

  • Ran ./scripts/quick-start.sh --recreate.
  • Installed the namespace and redis promises from kratix-marketplace, submitted resource requests, and verified:
    • Resources reconciled to the worker cluster.
    • Flux kratix-worker-dependencies and kratix-worker-resources are Ready.
    • RustFS bucket contains expected artifacts under worker-1/….
  • Confirmed no MinIO resources exist after quick‑start.

✨ PR Description

Purpose: Replace deprecated MinIO with RustFS as the default S3-compatible storage backend for the quickstart environment to improve maintainability and modernize infrastructure dependencies.

Main changes:

  • Replaced all MinIO references with RustFS across configuration files, scripts, and Kubernetes manifests including deployment specs and credentials
  • Updated quick-start.sh script flags from --git-and-minio to --git-and-rustfs with corresponding variable and function name changes
  • Added NoSuchKey error handling in S3Writer deleteObjects and RemoveObject methods to gracefully skip non-existent objects

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant