summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2022-03-04 16:08:26 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2022-03-07 15:01:55 +0000
commitebc553be462804a51bd6688df0866358e408a8f2 (patch)
treec2a6c12f7a265b16862ca40d10c5605cdd96901f /kubernetes/common/mariadb-galera
parentde97263a2ea4b7a134dc3d43784a6178909feabe (diff)
[COMMON][MARIADB] Fix typo in bootstrap condition
This was causing errors when using bootstrapFromNode Issue-ID: OOM-2933 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I55b49ad40b5f45b394acd064fcbc7f272298fde0
Diffstat (limited to 'kubernetes/common/mariadb-galera')
-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 bb3af76115..22832c936d 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -78,7 +78,7 @@ spec:
- -ec
- |
{{- if (not (empty (.Values.galera.bootstrap.bootstrapFromNode | quote)))}}
- {{- $fullname := include "common.names.fullname" . }}
+ {{- $fullname := include "common.fullname" . }}
{{- $bootstrapFromNode := int .Values.galera.bootstrap.bootstrapFromNode }}
# Bootstrap from the indicated node
NODE_ID="${MY_POD_NAME#"{{ $fullname }}-"}"