Merge " Fix logging format"
[oom.git] / kubernetes / appc / templates / appc-configmap.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #{{ if not .Values.disableAppcAppc }}
16 apiVersion: v1
17 kind: ConfigMap
18 metadata:
19   name: appc-openecomp-appc-data-properties-configmap
20   namespace: {{ .Values.nsPrefix }}
21 data:
22 {{ tpl (.Files.Glob "resources/config/appc/opt/openecomp/appc/data/properties/*").AsConfig . | indent 2 }}
23 ---
24 apiVersion: v1
25 kind: ConfigMap
26 metadata:
27   name: appc-openecomp-appc-svclogic-config-configmap
28   namespace: {{ .Values.nsPrefix }}
29 data:
30 {{ tpl (.Files.Glob "resources/config/appc/opt/openecomp/appc/svclogic/config/svclogic.properties").AsConfig . | indent 2 }}
31 ---
32 apiVersion: v1
33 kind: ConfigMap
34 metadata:
35   name: appc-openecomp-appc-svclogic-bin-configmap
36   namespace: {{ .Values.nsPrefix }}
37 data:
38 {{ tpl (.Files.Glob "resources/config/appc/opt/openecomp/appc/svclogic/bin/showActiveGraphs.sh").AsConfig . | indent 2 }}
39 ---
40 apiVersion: v1
41 kind: ConfigMap
42 metadata:
43   name: appc-openecomp-appc-bin-configmap
44   namespace: {{ .Values.nsPrefix }}
45 data:
46 {{ tpl (.Files.Glob "resources/config/appc/opt/openecomp/appc/bin/*").AsConfig . | indent 2 }}
47 ---
48 apiVersion: v1
49 kind: ConfigMap
50 metadata:
51   name: appc-onap-sdnc-data-properties-configmap
52   namespace: {{ .Values.nsPrefix }}
53 data:
54 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/sdnc/data/properties/*").AsConfig . | indent 2 }}
55 ---
56 apiVersion: v1
57 kind: ConfigMap
58 metadata:
59   name: appc-onap-sdnc-svclogic-config-configmap
60   namespace: {{ .Values.nsPrefix }}
61 data:
62 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/sdnc/svclogic/config/svclogic.properties").AsConfig . | indent 2 }}
63 ---
64 apiVersion: v1
65 kind: ConfigMap
66 metadata:
67   name: appc-onap-sdnc-svclogic-bin-configmap
68   namespace: {{ .Values.nsPrefix }}
69 data:
70 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/sdnc/svclogic/bin/showActiveGraphs.sh").AsConfig . | indent 2 }}
71 ---
72 apiVersion: v1
73 kind: ConfigMap
74 metadata:
75   name: appc-onap-sdnc-bin-configmap
76   namespace: {{ .Values.nsPrefix }}
77 data:
78 {{ tpl (.Files.Glob "resources/config/appc/opt/onap/sdnc/bin/*").AsConfig . | indent 2 }}
79 ---
80 apiVersion: v1
81 kind: ConfigMap
82 metadata:
83   name: appc-scripts-configmap
84   namespace: {{ .Values.nsPrefix }}
85 data:
86 {{ tpl (.Files.Glob "resources/scripts/*").AsConfig . | indent 2 }}
87 #{{ end }}