Simon Rüegg
Simon Rüegg
Thinking of it again I guess it should be ok to just replace Helm 2 with 3. Since Helm 2 is being deprecated anyway: https://helm.sh/blog/helm-v2-deprecation-timeline/. And most charts work well...
+1 for this request. It would be nice to be able to apply the functions "on-reveal" as suggested. In the mean time, we use the secrets `stringData` [feature](https://kubernetes.io/docs/concepts/configuration/secret/#creating-a-secret-manually) to work...
Thanks for the fast reply! Cool, so this is something you're planning / working on 👍 Maybe I find the time to code together a first draft so we have...
We also hit this bug running in Kubernetes: We use the [Bitnami Galera chart](https://github.com/bitnami/charts/tree/master/bitnami/mariadb-galera) where a headless service gets created for cluster communication (gcomm). This service will only return IPs...
You're right, the clearing wasn't due to the startup script. This node tried to do an SST which caused the clearing of the data dir. Unfortunately the SST failed and...
I proposed in bitnami/bitnami-docker-mariadb-galera#42 to maybe introduce a file (i.e. `bootstrapped`) to mark a node as already bootstrapped, instead of relying on the `mysql` dir and DNS resolution?
Our current idea would be to write said file and to look for the hostname. Since we use the Bitnami Helm chart which creates a StatefulSet, the hostname always contains...
Ah, nice 👍 What I don't get then, is why it's only checked in the `if is_boolean_yes "$clusterBootstrap"; then` branch? https://github.com/bitnami/bitnami-docker-mariadb-galera/blob/135cbeaae15fa2512bcc65cfb19d6c9768b8418c/10.4/debian-10/rootfs/opt/bitnami/scripts/libmariadbgalera.sh#L98
Yes, but on first start the bootstrap file should never exist, right?
I think there's a misunderstanding: I'm talking about the other if (line 97): `if is_boolean_yes "$clusterBootstrap"; then` Wouldn't it make sense to check `if is_boolean_yes "$(get_previous_boot)"; then` always, and not...