Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / dmaap / components / dmaap-dr-prov / templates / configmap.yaml
1 {{/*
2 # Copyright © 2017 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.
15 */}}
16
17 apiVersion: v1
18 kind: ConfigMap
19 metadata:
20   name: {{ include "common.fullname" . }}-configmap
21   namespace: {{ include "common.namespace" . }}
22   labels:
23     app: {{ include "common.name" . }}
24     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25     release: {{ include "common.release" . }}
26     heritage: {{ .Release.Service }}
27 data:
28 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
29 ---
30 apiVersion: v1
31 kind: ConfigMap
32 metadata:
33   name: {{ include "common.fullname" . }}-log
34   namespace: {{ include "common.namespace" . }}
35 data:
36 {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
37 ---
38 {{ include "common.log.configMap" . }}
39 ---
40 apiVersion: v1
41 kind: ConfigMap
42 metadata:
43   name: {{ include "common.fullname" . }}-dbc-feeds
44   namespace: {{ include "common.namespace" . }}
45   labels:
46     app: {{ include "common.name" . }}
47     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
48     release: {{ include "common.release" . }}
49     heritage: {{ .Release.Service }}
50 data:
51 {{ tpl (.Files.Glob "resources/feeds/*.json").AsConfig . | indent 2 }}
52 ---
53 apiVersion: v1
54 kind: ConfigMap
55 metadata:
56   name: {{ include "common.fullname" . }}-dbc-drpubs
57   namespace: {{ include "common.namespace" . }}
58   labels:
59     app: {{ include "common.name" . }}
60     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
61     release: {{ include "common.release" . }}
62     heritage: {{ .Release.Service }}
63 data:
64 {{ tpl (.Files.Glob "resources/dr_pubs/*.json").AsConfig . | indent 2 }}
65 ---
66 apiVersion: v1
67 kind: ConfigMap
68 metadata:
69   name: {{ include "common.fullname" . }}-dbc-drsubs
70   namespace: {{ include "common.namespace" . }}
71   labels:
72     app: {{ include "common.name" . }}
73     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
74     release: {{ include "common.release" . }}
75     heritage: {{ .Release.Service }}
76 data:
77 {{ tpl (.Files.Glob "resources/dr_subs/*.json").AsConfig . | indent 2 }}