blob: 56b34790f984d83411e7f87ff56a5d72cdfce755 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Mukul2b4e7532018-08-03 10:41:29 +00002# Modifications Copyright © 2018 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
jasmineWen85d9d732018-03-06 16:13:35 +000016apiVersion: v1
17kind: ConfigMap
18metadata:
jasmineWen09bc80d2018-03-21 18:21:17 +000019 name: {{ include "common.fullname" . }}-configmap
20 namespace: {{ include "common.namespace" . }}
vaibhav_16dec956bebf2018-09-19 14:09:44 +000021 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
jasmineWen85d9d732018-03-06 16:13:35 +000026data:
27{{ tpl (.Files.Glob "resources/config/consul-agent-config/*").AsConfig . | indent 2 }}
28---
29apiVersion: v1
30kind: ConfigMap
31metadata:
jasmineWen09bc80d2018-03-21 18:21:17 +000032 name: {{ include "common.fullname" . }}-scripts-configmap
33 namespace: {{ include "common.namespace" . }}
vaibhav_16dec956bebf2018-09-19 14:09:44 +000034 labels:
35 app: {{ include "common.name" . }}
36 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
37 release: {{ .Release.Name }}
38 heritage: {{ .Release.Service }}
jasmineWen85d9d732018-03-06 16:13:35 +000039data:
40{{ tpl (.Files.Glob "resources/config/consul-agent-config/scripts/*").AsConfig . | indent 2 }}