bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
9k stars 9.22k forks source link

[bitnami/mariadb] MariaDB implement list of databases/usernames like in MongoDB chart #29130

Closed Syntax3rror404 closed 1 month ago

Syntax3rror404 commented 2 months ago

Name and Version

bitnami/mariadb 19.0.5

What is the problem this feature will solve?

This feature solves the problem that only 1 database and username is allowed to creating during the init process. There are some usecases which require more users and databases. Until today additional users and databases you need to add by manual steps.

What is the feature you are proposing to solve the problem?

In the MongoDB chart bitnami/mongodb there is a solution implemented which also perfect fits for MariaDB:

  ## MongoDB(®) custom users and databases
  ## ref: https://github.com/bitnami/containers/tree/main/bitnami/mongodb#creating-a-user-and-database-on-first-run
  ## @param auth.usernames List of custom users to be created during the initialization
  ## @param auth.passwords List of passwords for the custom users set at `auth.usernames`
  ## @param auth.databases List of custom databases to be created during the initialization
  ##
  usernames: []
  passwords: []
  databases: []

Please implement the same for MariaDB

javsalgar commented 2 months ago

Hi!

Thank you so much for the feature request. I will forward it to the team, but as it is not a critical request, we cannot guarantee an ETA. If you want to speed up the process, would you like to submit a PR in bitnami/containers adding that support? This feature requires changes here: https://github.com/bitnami/containers/blob/main/bitnami/mariadb/11.5/debian-12/rootfs/opt/bitnami/scripts/libmariadb.sh

Syntax3rror404 commented 1 month ago

Hi!

Thank you so much for the feature request. I will forward it to the team, but as it is not a critical request, we cannot guarantee an ETA. If you want to speed up the process, would you like to submit a PR in bitnami/containers adding that support? This feature requires changes here: https://github.com/bitnami/containers/blob/main/bitnami/mariadb/11.5/debian-12/rootfs/opt/bitnami/scripts/libmariadb.sh

I would be happy to be a contributor! I think I can nearly copy and paste the code from the mongo db implementation.

github-actions[bot] commented 1 month ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 1 month ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.