From b9d50c917cc9eb507483be32587f42d567c827dd Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Thu, 20 Feb 2020 21:29:45 +0100 Subject: [SDNC] Use common secret template in ansible-server Whole SDNC strongly depends on the assumption that it is using a common mariadb-galera instance and that root password is secret password. Also user and password to sdnc DB is hardcoded. Let's start working on removing this assumption and component by component add support for local and shared mariadb instance without hardcoding any passwords to the database. In this patch all passwords are still hardcoded in the helm chart to not break other parts of SDNC. Those values will be removed in a final patch. Issue-ID: OOM-2309 Signed-off-by: Krzysztof Opasiak Change-Id: Idb460e72301dd63082d7890d34fea923df3ac426 --- .../sdnc/charts/sdnc-ansible-server/templates/secret.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml (limited to 'kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml') diff --git a/kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml b/kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml new file mode 100644 index 0000000000..dee311c336 --- /dev/null +++ b/kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml @@ -0,0 +1,15 @@ +# Copyright © 2020 Samsung Electronics +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +{{ include "common.secret" . }} -- cgit 1.2.3-korg