mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-25 06:04:18 +09:00
## What this PR does Renames the `mysql` application to `mariadb` across the codebase. The chart has always deployed MariaDB (via mariadb-operator), but was incorrectly named "mysql", causing confusion. - Rename `packages/apps/mysql` → `packages/apps/mariadb` with all internal references updated - Rename `packages/system/mysql-rd` → `packages/system/mariadb-rd` with CRD kind `MySQL` → `MariaDB` - Update platform source, bundle references, RBAC, e2e tests, and backup controller tests - Add platform migration 27 to auto-discover and rename all deployed MySQL resources to mariadb - Preserves PVC data via PV claimRef rebinding - Handles protection-webhook and mariadb-operator webhook during migration - Idempotent: safe to re-run Real MySQL CLI/config tool names (`mysqldump`, `[mysqld]`, `MYSQL_*` env vars) are intentionally left unchanged. ### Release note ```release-note [apps] Rename mysql application to mariadb. A platform migration automatically renames all deployed MySQL resources. No user action required. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added automated migration capability from MySQL to MariaDB with data persistence. * **Tests** * Added end-to-end tests for MariaDB deployment and validation. * **Chores** * Updated platform components and configuration to use MariaDB as the default database solution. * Migrated all internal references, documentation, and build configurations from MySQL to MariaDB. <!-- end of auto-generated comment: release notes by coderabbit.ai -->