summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-db-secrets
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2019-04-23 20:52:38 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-23 20:52:38 +0000
commit9591933faf7b9b60258c81ca01649d231a979506 (patch)
tree08aad43e8eac796869d6d65a5a453c4cf14040b5 /kubernetes/so/charts/so-db-secrets
parent08296edb0fdaf5688b5560ebf3dc6b05d992f6a9 (diff)
parent72b69c1313f4545ed9e431e0ccdefbbbe3dfc86b (diff)
Merge "SO Rolling upgrade using helm hooks"
Diffstat (limited to 'kubernetes/so/charts/so-db-secrets')
-rwxr-xr-xkubernetes/so/charts/so-db-secrets/templates/secrets.yaml4
-rw-r--r--kubernetes/so/charts/so-db-secrets/values.yaml2
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml b/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml
index f53c67f067..d19803c32e 100755
--- a/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml
+++ b/kubernetes/so/charts/so-db-secrets/templates/secrets.yaml
@@ -22,8 +22,8 @@ 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.host : {{ .Values.global.mariadbGalera.serviceName | b64enc | quote }}
+ mariadb.readwrite.port : {{ .Values.global.mariadbGalera.servicePort | 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 }}
diff --git a/kubernetes/so/charts/so-db-secrets/values.yaml b/kubernetes/so/charts/so-db-secrets/values.yaml
index 8836802069..63b6852d50 100644
--- a/kubernetes/so/charts/so-db-secrets/values.yaml
+++ b/kubernetes/so/charts/so-db-secrets/values.yaml
@@ -11,8 +11,6 @@
# 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.
-db_host: so-mariadb
-db_port: "3306"
db_admin_username: so_admin
db_admin_password: so_Admin123
db_username: so_user