Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/mariadb] Support for official docker.io/mariadb image #3393

Closed
ssmall opened this issue Aug 12, 2020 · 6 comments
Closed

[bitnami/mariadb] Support for official docker.io/mariadb image #3393

ssmall opened this issue Aug 12, 2020 · 6 comments
Labels

Comments

@ssmall
Copy link

ssmall commented Aug 12, 2020

Which chart:
https://github.com/bitnami/charts/tree/master/bitnami/mariadb

Is your feature request related to a problem? Please describe.
When I try setting image.repository=mariadb on install, the pods encounter an error on startup:

$ kubectl logs po/mariadb-master-0 
2020-08-12 04:02:22+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.24+maria~focal started.
2020-08-12 04:02:22+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2020-08-12 04:02:22+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.24+maria~focal started.
2020-08-12 04:02:22+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified
        You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD

Describe the solution you'd like
Support the use of the official mariadb Docker image with this chart.

Describe alternatives you've considered
Add arm64 support to the bitnami/mariadb image. See https://github.com/bitnami/bitnami-docker-mariadb/issues/221

Additional context
I am trying to deploy the mariadb chart on an arm64-based cluster, but cannot do so because the bitnami image only supports amd64, and the official mariadb image does not work with the chart. This leaves me with no option but to deploy mariadb manually on my cluster.

@rafariossaa
Copy link
Contributor

Hi,
I am creating a internal task to study the changes needed and if it is possible to support both images.
We will come back as soon as we have news, but this can take a while.
Meanwhile, PR are welcomed and we will be glad to review and merge them.

@rafariossaa rafariossaa added the on-hold Issues or Pull Requests with this label will never be considered stale label Aug 12, 2020
@morganchristiansson
Copy link
Contributor

morganchristiansson commented Apr 5, 2021

The docker.io/mariadb image is adding support for MARIADB_ env vars. The PR was merged a month ago but it's not yet available via docker pull. MariaDB/mariadb-docker#333

So can close this as done soon.. 👍

@chestnutprog
Copy link

The path of my.cnf is also a problem, Bitnami put its my.cnf on /opt/bitnami/mariadb/conf/my.cnf, while official image read it from /etc/mysql/my.cnf.

@rafariossaa
Copy link
Contributor

Hi,
Thanks for your comments, I adding them to our internal task.

@carrodher
Copy link
Member

Hi all, we just created this issue #7305 that is pinned in the Bitnami Helm Charts repository, on this way we can funnel all the conversation in a single place regarding ARM64 support.

We will close the rest of the existing issues just to avoid duplications, please visit the above-mentioned issue to see any new (when possible) about this topic.

@carrodher carrodher removed the on-hold Issues or Pull Requests with this label will never be considered stale label Aug 26, 2021
@carrodher
Copy link
Member

Hi all, we are more than happy to announce that from now on the Bitnami container catalog is available as multi-arch in Docker Hub 🎉 🎉

Screenshot 2023-02-24 at 08 16 50

This means you don’t need to specify anything when pulling the container images from Docker Hub, Docker (or any other software) will automatically pull the container image matching the host platform from which the pull command was issued.

Here you can find more info about this announcement.


As usual, please create a new GitHub issue if you would like to report any bug or problem or directly contribute by creating a PR. Here you can find the contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants