From: Mahmoud Abdelhamid Date: Tue, 15 Jun 2021 14:43:02 +0000 (+0200) Subject: [COMMON] Add port under mariadb-galera chart X-Git-Tag: 9.0.0~221^2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=dfa07dd296a1dc781cb97b7c6c8314ea8a2fc855;p=oom.git [COMMON] Add port under mariadb-galera chart Update mariadb-galera chart to add internalport value under (.Values. service) to resolve the port settings needed for the template (common. mariadbPort) under (common/_mariadb.tpl). This parameter will use the default value of mariadb 3306 which can be changed in component charts. Issue-ID: OOM-2773 Signed-off-by: Mahmoud Abdelhamid Change-Id: I0d59ba42f07426b14ec7bc7f157392b5f10b9006 --- diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml index 4c77efc83f..ed9977acd9 100644 --- a/kubernetes/common/mariadb-galera/values.yaml +++ b/kubernetes/common/mariadb-galera/values.yaml @@ -86,9 +86,10 @@ service: ## type: ClusterIP headless: {} + internalPort: &dbPort 3306 ports: - name: mysql - port: 3306 + port: *dbPort headlessPorts: - name: galera port: 4567