k8s-at-home / charts

⚠️ Deprecated : Helm charts for applications you run at home
https://docs.k8s-at-home.com
Apache License 2.0
1.45k stars 621 forks source link

[bookstack] MariaDB fails to cold start (allegedly due its lack of rootPassword default) #1733

Open alexbarcelo opened 2 years ago

alexbarcelo commented 2 years ago

Helm chart name

bookstack

Helm chart version

5.0.0

Container name

docker.io/bitnami/mariadb

Container tag

10.6.8-debian-11-r9

Description

I used mostly default values, with the honorable mention of persistent storage for MariaDB.

Expected result

A cold start / dirty restart of the cluster should not break the bookstack web app.

Helm values to reproduce

mariadb:
  enabled: true
  primary:
    persistence:
      enabled: true

Additional Information

The pod for MariaDB seems to start properly, but it quickly fails with the error Access denied for user 'root'@'localhost'

Repo link

No response

alexbarcelo commented 2 years ago

I am also using the photoprism stack (from this same repository) and that repo does have a rootPassword default entry on the mariadb.auth section, and that web application seems to start properly on a cold start of the kubernetes cluster. That's why my suspicion go towards the rootPassword parameter. I feel like consistency between them both would be appreciated, but I am a newbie and I may be completely off-railed on what's happening.