From: Jozsef Csongvai Date: Fri, 4 Mar 2022 21:08:26 +0000 (-0500) Subject: [COMMON][MARIADB] Fix typo in bootstrap condition X-Git-Tag: 10.0.0~103^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=commitdiff_plain;h=ebc553be462804a51bd6688df0866358e408a8f2 [COMMON][MARIADB] Fix typo in bootstrap condition This was causing errors when using bootstrapFromNode Issue-ID: OOM-2933 Signed-off-by: Jozsef Csongvai Change-Id: I55b49ad40b5f45b394acd064fcbc7f272298fde0 --- 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 }}-"}"