[bitnami/mariadb-galera] helm upgrade with "tls.enabled=true,tls.autoGenerated=true" makes existing galera nodes fail to communicate #15525
Labels
mariadb-galera
on-hold
Issues or Pull Requests with this label will never be considered stale
tech-issues
The user has a technical issue about an application
Name and Version
bitnami/mariadb-galera 7.5.3
What steps will reproduce the bug?
Configuration :
How to reproduce :
helm install --upgrade --values myvalues.yaml database --namespace=galera bitnami/mariadb-galera
helm install --upgrade --values myvalues.yaml database --namespace=galera bitnami/mariadb-galera
A diff before upgrading shows that tls certificates are renewed even if existing already :
Problem : starting members are unable to communicate with other members, then raises for new pods an Error, then CrashLoopBackOff.
Here is what I can see for any starting pod in the logs when the StatefulSet is restarting the cluster pods :
That means that I need two different values files - one with autoGenerated=true, one with autoGenerated=false" - depending on an existing cluster or not -> so this is not immutable, not even idempotent.
The only workaround that I have found is to scale members to 0 and then scale up - and this causes downtime, unfortunately.
Is there an option I missed that would manage this case - and not replace existing certificates, but only generate them if they do not exist?
What architecture are you using?
amd64
Kubernetes 1.26.2
helm 3.11.1
Issues seen before
Maybe related to #7071 or #8424 issues
The text was updated successfully, but these errors were encountered: