blob: c95a234fb79f3a6475ed6e7ff9a8a4c758d651aa [file] [log] [blame]
Krzysztof Opasiakc0a57f82020-03-23 15:50:13 +01001{{/*
vaibhavjayasea9aee02018-08-31 06:22:26 +00002# Copyright © 2018 Amdocs, Bell Canada
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +01003# Copyright © 2020 Samsung Electronics, TATA Communications, Bitnami, Orange
vaibhavjayasea9aee02018-08-31 06:22:26 +00004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Krzysztof Opasiakc0a57f82020-03-23 15:50:13 +010016*/}}
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010017
18{{ if .Values.mariadbConfiguration }}
vitalied1e5876c2018-03-29 10:24:27 -050019apiVersion: v1
20kind: ConfigMap
21metadata:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010022 name: {{ printf "%s-configuration" (include "common.fullname" .) }}
vitalied1e5876c2018-03-29 10:24:27 -050023 namespace: {{ include "common.namespace" . }}
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010024 labels: {{- include "common.labels" . | nindent 4 }}
vitalied1e5876c2018-03-29 10:24:27 -050025data:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010026 my.cnf: |
27{{ .Values.mariadbConfiguration | indent 4 }}
28{{- end }}