summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-03-08 15:34:21 +0000
committerGerrit Code Review <gerrit@onap.org>2022-03-08 15:34:21 +0000
commit4830e66d51450883839a7198ea0108376449b66e (patch)
tree84f48b670bf4c91b7880ce9b6bc78acd4a018ea7
parent7b9f363158f544a3dc9097d8c3753e6a3b29b764 (diff)
parentebc553be462804a51bd6688df0866358e408a8f2 (diff)
Merge "[COMMON][MARIADB] Fix typo in bootstrap condition"
-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 }}-"}"