blob: 0ada38595ea0cee5762211c68faa1ad743daa803 [file] [log] [blame]
Jakub Latusek44f0fdd2020-10-21 13:36:29 +02001{{/*
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00002# Copyright © 2018 AT&T USA
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Jakub Latusek44f0fdd2020-10-21 13:36:29 +020015*/}}
Mike Elliottd32d36e2018-02-12 15:54:03 -050016apiVersion: v1
17kind: Secret
18metadata:
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010019 name: {{ include "common.release" . }}-so-db-secrets
Mike Elliottd32d36e2018-02-12 15:54:03 -050020 namespace: {{ include "common.namespace" . }}
21 labels:
kerenj0e93fb52018-03-06 14:46:42 +000022 app: {{ include "common.name" . }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050023 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010024 release: {{ include "common.release" . }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050025 heritage: {{ .Release.Service }}
Mike Elliottd32d36e2018-02-12 15:54:03 -050026data:
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000027 mariadb.readwrite.host : {{ .Values.global.mariadbGalera.serviceName | b64enc | quote }}
28 mariadb.readwrite.port : {{ .Values.global.mariadbGalera.servicePort | b64enc | quote }}
Ramesh Parthasarathye45751f2018-09-26 21:48:34 +000029 mariadb.readwrite.rolename: {{ .Values.db_username | b64enc | quote }}
30 mariadb.readwrite.password: {{ .Values.db_password | b64enc | quote }}
31 mariadb.admin.rolename: {{ .Values.db_admin_username| b64enc | quote }}
32 mariadb.admin.password: {{ .Values.db_admin_password | b64enc | quote }}
Ramesh Parthasarathy2898b6e2018-09-19 23:53:10 +000033type: Opaque