From 39c8704ee25a855b365c94ccfc2545ceb72ea395 Mon Sep 17 00:00:00 2001 From: Chanho Kim <7chanho@gmail.com> Date: Fri, 22 Feb 2019 19:24:33 +0900 Subject: [PATCH] [stable/mariadb] Fix 'MARIADB_MASTER_PORT_NUMBER' in templates/slave-statefulset.yaml (#11562) Signed-off-by: Chanho Kim <7chanho@gmail.com> --- stable/mariadb/Chart.yaml | 2 +- stable/mariadb/templates/slave-statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/mariadb/Chart.yaml b/stable/mariadb/Chart.yaml index fe4a5c3043..1ece7bbd8c 100644 --- a/stable/mariadb/Chart.yaml +++ b/stable/mariadb/Chart.yaml @@ -1,5 +1,5 @@ name: mariadb -version: 5.5.2 +version: 5.5.3 appVersion: 10.1.38 description: Fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. Highly available MariaDB cluster. keywords: diff --git a/stable/mariadb/templates/slave-statefulset.yaml b/stable/mariadb/templates/slave-statefulset.yaml index f2cab6162e..bc8786acde 100644 --- a/stable/mariadb/templates/slave-statefulset.yaml +++ b/stable/mariadb/templates/slave-statefulset.yaml @@ -99,7 +99,7 @@ spec: - name: MARIADB_MASTER_HOST value: {{ template "mariadb.fullname" . }} - name: MARIADB_MASTER_PORT_NUMBER - value: "3306" + value: "{{ .Values.service.port }}" - name: MARIADB_MASTER_ROOT_USER value: "root" - name: MARIADB_MASTER_ROOT_PASSWORD