RANCHER-3089 MinIO deprecation and S3 by default - #1411
Conversation
Code Review SummaryOverall Score: 72/100 ✅ Approved with suggestions This PR successfully implements the MinIO deprecation strategy and defaults to AWS S3 across the codebase. The changes are consistent and well-intentioned, but there are a few maintainability and documentation concerns to address. ✨ Strengths
🔴 High Priority Issues1. Hardcoded S3 type breaks dependency resolution patternFile: The change from dynamic Suggestion: Create a dedicated result.s3Type = resolveS3Type(clusterName)
private String resolveS3Type(String clusterName) {
// MinIO is deprecated; all clusters now use AWS S3
return 'aws'
}🟡 Medium Priority Issues2. Misleading parameter descriptionFile: The description still suggests MinIO is available as a choice when it's no longer supported. This could confuse users. Suggestion: Update to clarify deprecation: 'Select object storage type: AWS S3 (MinIO deprecated)'3. Missing migration path documentationFile: The default value change lacks documentation on how existing deployments using Suggestion: Add migration documentation and consider a validation utility to detect legacy configurations. 📋 Top Recommendations
|
No description provided.