From e45751fcb07d2764dcbf33dd5a33ef37e94cabdb Mon Sep 17 00:00:00 2001 From: Ramesh Parthasarathy Date: Wed, 26 Sep 2018 21:48:34 +0000 Subject: Implement SO users with Helm use regular and admin user with SO-MariaDB for the containers Change-Id: I236798d864e673a56c6c50181913312505ae9e79 Issue-ID: SO-1094 Signed-off-by: Ramesh Parthasarathy(rp6768) --- kubernetes/so/charts/so-db-secrets/templates/secrets.yaml | 12 ++++++------ kubernetes/so/charts/so-db-secrets/values.yaml | 9 +++++---- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'kubernetes/so/charts') diff --git a/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml b/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml index e787b57a88..f53c67f067 100755 --- a/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml +++ b/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml @@ -22,10 +22,10 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: - mariadb.readwrite.host : {{ .Values.db_host | b64enc | quote}} - mariadb.readwrite.port : {{ .Values.db_port | b64enc | quote}} - mariadb.readwrite.rolename: {{ .Values.db_admin_username | b64enc | quote}} - mariadb.readwrite.password: {{ .Values.db_admin_password | b64enc | quote}} - mariadb.admin.rolename: {{ .Values.db_username | b64enc | quote}} - mariadb.admin.password: {{ .Values.db_password | b64enc | quote}} + mariadb.readwrite.host : {{ .Values.db_host | b64enc | quote }} + mariadb.readwrite.port : {{ .Values.db_port | b64enc | quote }} + mariadb.readwrite.rolename: {{ .Values.db_username | b64enc | quote }} + mariadb.readwrite.password: {{ .Values.db_password | b64enc | quote }} + mariadb.admin.rolename: {{ .Values.db_admin_username| b64enc | quote }} + mariadb.admin.password: {{ .Values.db_admin_password | b64enc | quote }} type: Opaque diff --git a/kubernetes/so/charts/so-db-secrets/values.yaml b/kubernetes/so/charts/so-db-secrets/values.yaml index f3387efad3..8836802069 100644 --- a/kubernetes/so/charts/so-db-secrets/values.yaml +++ b/kubernetes/so/charts/so-db-secrets/values.yaml @@ -13,7 +13,8 @@ # limitations under the License. db_host: so-mariadb db_port: "3306" -db_admin_username: root -db_admin_password: password -db_username: root -db_password: password +db_admin_username: so_admin +db_admin_password: so_Admin123 +db_username: so_user +db_password: so_User123 + -- cgit 1.2.3-korg