blob: 90d75cc409b3ce396c3dd12a0ae5308aca96213b [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd4258672020-08-09 12:08:08 -05002# Modifications Copyright © 2018-2020 AT&T Intellectual Property
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.
15
vaibhav_16dec8de39a72018-01-17 12:22:52 +000016apiVersion: v1
17kind: ConfigMap
18metadata:
mayankg2703ced85142018-03-20 05:42:53 +000019 name: {{ include "common.fullname" . }}-configmap
20 namespace: {{ include "common.namespace" . }}
jhhd4258672020-08-09 12:08:08 -050021 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ include "common.release" . }}
25 heritage: {{ .Release.Service }}
jhh7ade5b82019-10-25 00:05:36 -050026{{- with .Files.Glob "resources/configmaps/*{.zip,store}" }}
27binaryData:
28{{- range $path, $bytes := . }}
29 {{ base $path }}: {{ $.Files.Get $path | b64enc | quote }}
30{{- end }}
31{{- end }}
BorislavG8bfc6cf2018-02-27 15:04:26 +000032data:
jhh7ade5b82019-10-25 00:05:36 -050033{{ tpl (.Files.Glob "resources/configmaps/*.{conf,sh,properties,xml,keyfile}").AsConfig . | indent 2 }}