aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-01-04 14:45:11 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-01-04 14:49:28 +0100
commitdb1a672adc0c2ae67b0bc859d40cdfeb2a08dc93 (patch)
tree97ebde423b002def2fd03ce7b00e2ead430bfb55
parent50d29a32cadf7c8c91e3409d8d604cc4852dadb4 (diff)
[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
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index 0dcb8e3e1c..caa506225d 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -94,7 +94,7 @@ spec:
fieldPath: metadata.name
- name: BITNAMI_DEBUG
value: {{ ternary "true" "false" .Values.debug | quote }}
- - name: DB_INIT_SLEEP_TIME
+ - name: MARIADB_INIT_SLEEP_TIME
value: {{ .Values.init_sleep_time | quote }}
- name: MARIADB_GALERA_CLUSTER_NAME
value: {{ .Values.galera.name | quote }}