blob: e7bb701930df8803a4894c25c24ca16f62e09c72 [file] [log] [blame]
Krzysztof Opasiakc0a57f82020-03-23 15:50:13 +01001{{/*
vaibhavjayasea9aee02018-08-31 06:22:26 +00002# Copyright © 2018 Amdocs, Bell Canada
3#
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.
Krzysztof Opasiakc0a57f82020-03-23 15:50:13 +010015*/}}
vaibhavjayasea9aee02018-08-31 06:22:26 +000016
vitalied1e5876c2018-03-29 10:24:27 -050017{{- if .Values.externalConfig }}
18apiVersion: v1
19kind: ConfigMap
20metadata:
Jerry Floodf406ab82018-10-23 07:10:48 -040021 name: {{ include "common.fullname" . }}-external-config
vitalied1e5876c2018-03-29 10:24:27 -050022 namespace: {{ include "common.namespace" . }}
sushil masal08ef7092019-02-21 16:21:51 +053023 labels:
24 app: {{ include "common.name" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010026 release: {{ include "common.release" . }}
sushil masal08ef7092019-02-21 16:21:51 +053027 heritage: {{ .Release.Service }}
vitalied1e5876c2018-03-29 10:24:27 -050028data:
Jerry Floodf406ab82018-10-23 07:10:48 -040029 my_extra.cnf: |
30{{ .Values.externalConfig | indent 4 }}
Sylvain Desbureaux524c8782019-11-08 17:36:02 +010031{{- end -}}