blob: 9a92ad9769b383dc6e67068f3b78c9d7fe2138d4 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Jorge Hernandezaa5ba982019-03-25 19:13:39 -05002# Modifications Copyright © 2018-2019 AT&T
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" . }}
jhh7ade5b82019-10-25 00:05:36 -050021{{- with .Files.Glob "resources/configmaps/*{.zip,store}" }}
22binaryData:
23{{- range $path, $bytes := . }}
24 {{ base $path }}: {{ $.Files.Get $path | b64enc | quote }}
25{{- end }}
26{{- end }}
BorislavG8bfc6cf2018-02-27 15:04:26 +000027data:
jhh7ade5b82019-10-25 00:05:36 -050028{{ tpl (.Files.Glob "resources/configmaps/*.{conf,sh,properties,xml,keyfile}").AsConfig . | indent 2 }}