Skip to content

fix(dragonfly): replace deprecated bitnamilegacy/mysql with bitnami/mysql#480

Merged
gaius-qi merged 5 commits into
dragonflyoss:mainfrom
pmady:fix/replace-bitnami-mysql
Apr 3, 2026
Merged

fix(dragonfly): replace deprecated bitnamilegacy/mysql with bitnami/mysql#480
gaius-qi merged 5 commits into
dragonflyoss:mainfrom
pmady:fix/replace-bitnami-mysql

Conversation

@pmady
Copy link
Copy Markdown
Contributor

@pmady pmady commented Mar 13, 2026

Description

Replace the deprecated bitnamilegacy/mysql image and outdated chart dependency with actively maintained versions.

Changes

  • Chart.yaml: Bump bitnami/mysql chart dependency from 10.1.1 to 11.1.20 (MySQL 8.4 LTS)
  • values.yaml: Update image repository from bitnamilegacy/mysql to bitnami/mysql

Why

  • The bitnamilegacy Docker Hub registry is deprecated and may be removed
  • Older images carry unpatched CVEs (e.g. CVE-2024-31449)
  • MySQL 8.4 is the current LTS release with active security patches
  • Chart 11.1.20 maintains the same values schema as 10.x (no breaking changes to auth, primary.service.port, etc.)

Verification

helm dependency update charts/dragonfly/
helm template test charts/dragonfly/ --set mysql.enable=true --set redis.enable=false

…ysql

Bump bitnami/mysql chart dependency from 10.1.1 to 11.1.20 (MySQL 8.4 LTS)
and update the image repository from bitnamilegacy/mysql to bitnami/mysql.

The bitnamilegacy registry is deprecated and may be removed in the future,
and older images carry unpatched CVEs (e.g. CVE-2024-31449).

Also bump chart version from 1.6.15 to 1.6.16 and regenerate docs.

Closes dragonflyoss#433

Signed-off-by: Pavan Madduri <pavan4devops@gmail.com>
Signed-off-by: pmady <pavan4devops@gmail.com>
@pmady pmady force-pushed the fix/replace-bitnami-mysql branch from 4f6f6ea to c5c0685 Compare March 15, 2026 16:46
@gaius-qi gaius-qi added the enhancement New feature or request label Mar 19, 2026
@gaius-qi
Copy link
Copy Markdown
Member

@pmady Please fix lint.

Bitnami removed all container images from docker.io/bitnami as of
Sept 2025 (bitnami/charts#35164). The bitnami/mysql chart v11.1.20
defaults to docker.io/bitnami/mysql:8.4.3-debian-12-r0 which no
longer exists, causing ImagePullBackOff during ct install.

Override the image repository to bitnamilegacy/mysql which still
hosts all legacy tags including 8.4.3-debian-12-r0. Regenerate
docs via helm-docs.

Signed-off-by: Pavan Madduri <pavan4devops@gmail.com>
Signed-off-by: pmady <pavan4devops@gmail.com>
@pmady
Copy link
Copy Markdown
Contributor Author

pmady commented Mar 19, 2026

@gaius-qi fixed the lint issue

gaius-qi added 3 commits April 2, 2026 12:00
Signed-off-by: Gaius <gaius.qi@gmail.com>
…eplace-bitnami-mysql

Signed-off-by: Gaius <gaius.qi@gmail.com>
…eplace-bitnami-mysql

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi enabled auto-merge (squash) April 3, 2026 09:08
Copy link
Copy Markdown
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@gaius-qi gaius-qi merged commit 2d638d0 into dragonflyoss:main Apr 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants