Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / appc / templates / configmap.yaml
1 {{/*
2 # Copyright © 2018  AT&T, Amdocs, Bell Canada Intellectual Property.  All rights reserved.
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" . }}-onap-sdnc-bin
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/appc/opt/onap/ccsdk/bin/*").AsConfig . | indent 2 }}
29 ---
30 apiVersion: v1
31 kind: ConfigMap
32 metadata:
33   name: {{ include "common.fullname" . }}-onap-sdnc-data-properties
34   namespace: {{ include "common.namespace" . }}
35   labels:
36     app: {{ include "common.name" . }}
37     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
38     release: {{ include "common.release" . }}
39     heritage: {{ .Release.Service }}
40 data:
41 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/ccsdk/data/properties/*").AsConfig . | indent 2 }}
42 ---
43 apiVersion: v1
44 kind: ConfigMap
45 metadata:
46   name: {{ include "common.fullname" . }}-onap-sdnc-svclogic-bin
47   namespace: {{ include "common.namespace" . }}
48   labels:
49     app: {{ include "common.name" . }}
50     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
51     release: {{ include "common.release" . }}
52     heritage: {{ .Release.Service }}
53 data:
54 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/ccsdk/svclogic/bin/*").AsConfig . | indent 2 }}
55 ---
56 apiVersion: v1
57 kind: ConfigMap
58 metadata:
59   name: {{ include "common.fullname" . }}-onap-sdnc-svclogic-config
60   namespace: {{ include "common.namespace" . }}
61   labels:
62     app: {{ include "common.name" . }}
63     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
64     release: {{ include "common.release" . }}
65     heritage: {{ .Release.Service }}
66 data:
67 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/ccsdk/svclogic/config/*").AsConfig . | indent 2 }}
68 ---
69 apiVersion: v1
70 kind: ConfigMap
71 metadata:
72   name: {{ include "common.fullname" . }}-onap-appc-bin
73   namespace: {{ include "common.namespace" . }}
74   labels:
75     app: {{ include "common.name" . }}
76     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
77     release: {{ include "common.release" . }}
78     heritage: {{ .Release.Service }}
79 data:
80 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/appc/bin/*").AsConfig . | indent 2 }}
81 ---
82 apiVersion: v1
83 kind: ConfigMap
84 metadata:
85   name: {{ include "common.fullname" . }}-onap-appc-data-properties
86   namespace: {{ include "common.namespace" . }}
87   labels:
88     app: {{ include "common.name" . }}
89     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
90     release: {{ include "common.release" . }}
91     heritage: {{ .Release.Service }}
92 data:
93 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/appc/data/properties/*").AsConfig . | indent 2 }}
94 ---
95 apiVersion: v1
96 kind: ConfigMap
97 metadata:
98   name: {{ include "common.fullname" . }}-onap-appc-svclogic-bin
99   namespace: {{ include "common.namespace" . }}
100   labels:
101     app: {{ include "common.name" . }}
102     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
103     release: {{ include "common.release" . }}
104     heritage: {{ .Release.Service }}
105 data:
106 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/appc/svclogic/bin/*").AsConfig . | indent 2 }}
107 ---
108 apiVersion: v1
109 kind: ConfigMap
110 metadata:
111   name: {{ include "common.fullname" . }}-onap-appc-svclogic-config
112   namespace: {{ include "common.namespace" . }}
113   labels:
114     app: {{ include "common.name" . }}
115     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
116     release: {{ include "common.release" . }}
117     heritage: {{ .Release.Service }}
118 data:
119 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/appc/svclogic/config/*").AsConfig . | indent 2 }}
120 ---
121 apiVersion: v1
122 kind: ConfigMap
123 metadata:
124   name: {{ include "common.fullname" . }}-logging-cfg
125   namespace: {{ include "common.namespace" . }}
126   labels:
127     app: {{ include "common.name" . }}
128     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
129     release: {{ include "common.release" . }}
130     heritage: {{ .Release.Service }}
131 data:
132 {{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
133
134 {{ include "common.log.configMap" . }}