nextcloud / nextcloud/helm

MariaDB does not offer auth.rootPassword option and secrets get hardcoded into values.yaml

Open
#206 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop externalDatabase good first issue
Dominant language
Go Template
Stars
534
Forks
314
Avg merge
42m
Merged PRs (30d)
1

Description

I am seeing this in my nextcloud mariadb pod:

$ k logs -n nextcloud pod/nextcloud-mariadb-0

mariadb 18:32:42.96
mariadb 18:32:42.96 Welcome to the Bitnami mariadb container
mariadb 18:32:42.97 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
mariadb 18:32:42.97 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
mariadb 18:32:42.97
mariadb 18:32:42.97 INFO  ==> ** Starting MariaDB setup **
mariadb 18:32:42.98 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 18:32:42.99 INFO  ==> Initializing mariadb database
mariadb 18:32:43.00 WARN  ==> The mariadb configuration file '/opt/bitnami/mariadb/conf/my.cnf' is not writable. Configurations based on environment variables will not be applied for this file.
mariadb 18:32:43.00 INFO  ==> Using persisted data
mariadb 18:32:43.02 INFO  ==> Running mysql_upgrade
mariadb 18:32:43.02 INFO  ==> Starting mariadb in background
mariadb 18:32:45.04 INFO  ==> Stopping mariadb

Any ideas what the reason for this might be?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the chart's values.yaml, especially the MariaDB auth settings and the auth.rootPassword option, then reproduce the deployment and inspect the nextcloud-mariadb pod logs. Done means the supported password configuration works and secrets are not hardcoded into values.yaml.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes, mariadb
Domain
databases, devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.