[COMMON][MARIADB] Set init wait right variable 63/116563/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 4 Jan 2021 13:45:11 +0000 (14:45 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 4 Jan 2021 13:49:28 +0000 (14:49 +0100)
commitdb1a672adc0c2ae67b0bc859d40cdfeb2a08dc93
tree97ebde423b002def2fd03ce7b00e2ead430bfb55
parent50d29a32cadf7c8c91e3409d8d604cc4852dadb4
[COMMON][MARIADB] Set init wait right variable

Bitnami mariadb-galera image has a special environment variable that
allows to wait few seconds for mariadb to be fully initialized.
This is especially important when a lot of pods are created in parallel,
like in OOM.
Unfortunately, the variable name used wasn't the good one.
This patch rectifies that

Issue-ID: OOM-1720
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I2f41ec734a45197c40d5adfa9e214ba5e335f44d
kubernetes/common/mariadb-galera/templates/statefulset.yaml