42 lines
2.2 KiB
Markdown
42 lines
2.2 KiB
Markdown
|
|
# Mailu Migration Summary
|
||
|
|
|
||
|
|
This document summarizes the migration from the old Kustomize-based Mailu setup to the new Helm-based setup.
|
||
|
|
|
||
|
|
## Files Removed
|
||
|
|
|
||
|
|
- `infrastructure/platform/mail/mailu/` - Complete removal of old Kustomize-based Mailu configuration
|
||
|
|
- `infrastructure/security/certificates/mailu/` - Removal of old certificate generation scripts
|
||
|
|
|
||
|
|
## Files Updated
|
||
|
|
|
||
|
|
### Infrastructure Configuration
|
||
|
|
- `infrastructure/environments/dev/k8s-manifests/kustomization.yaml` - Removed Mailu resource reference and patches
|
||
|
|
- `infrastructure/environments/prod/k8s-manifests/kustomization.yaml` - Removed Mailu resource reference and patches
|
||
|
|
- `infrastructure/platform/networking/ingress/base/ingress.yaml` - Removed Mailu-specific ingress rules and TLS entries
|
||
|
|
- `infrastructure/monitoring/signoz/README.md` - Updated to reflect Helm-based Mailu deployment
|
||
|
|
- `infrastructure/environments/common/configs/secrets.yaml` - Updated comments to reflect new service name
|
||
|
|
|
||
|
|
### Service Integration
|
||
|
|
- `infrastructure/environments/common/configs/configmap.yaml` - Updated SMTP_HOST to use new Helm service name
|
||
|
|
- `infrastructure/monitoring/signoz/signoz-values-prod.yaml` - Updated SMTP configuration to use new service name
|
||
|
|
|
||
|
|
## New Files Created
|
||
|
|
|
||
|
|
- `infrastructure/platform/mail/mailu-helm/` - New Helm-based Mailu configuration
|
||
|
|
- `values.yaml` - Base configuration values
|
||
|
|
- `dev/values.yaml` - Development-specific overrides
|
||
|
|
- `prod/values.yaml` - Production-specific overrides
|
||
|
|
- `mailu-ingress.yaml` - Sample ingress configuration for use with existing ingress
|
||
|
|
- `README.md` - Comprehensive documentation
|
||
|
|
- `MIGRATION_GUIDE.md` - Migration guide with rollback procedures
|
||
|
|
|
||
|
|
## Key Changes
|
||
|
|
|
||
|
|
1. **Service Names**: Changed from `mailu-smtp` to `mailu-postfix` (Helm chart service naming)
|
||
|
|
2. **Deployment Method**: Switched from Kustomize manifests to Helm chart
|
||
|
|
3. **Ingress Configuration**: Disabled built-in ingress to work with existing ingress controller
|
||
|
|
4. **Configuration**: All configurations now use Helm values files instead of individual YAML manifests
|
||
|
|
|
||
|
|
## Verification
|
||
|
|
|
||
|
|
The new configuration has been tested and verified to work with the existing ingress setup, maintaining all critical functionality while improving maintainability.
|