Merge "Update Keystore cert"
[oom.git] / kubernetes / aai / charts / aai-traversal / templates / configmap.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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 apiVersion: v1
16 kind: ConfigMap
17 metadata:
18   name: {{ include "common.fullname" . }}-log
19   namespace: {{ include "common.namespace" . }}
20   labels:
21     app: {{ include "common.name" . }}
22     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23     release: {{ .Release.Name }}
24     heritage: {{ .Release.Service }}
25 data:
26 {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
27 ---
28 apiVersion: v1
29 kind: ConfigMap
30 metadata:
31   name: {{ include "common.fullname" . }}-localhost-access-log-configmap
32   namespace: {{ include "common.namespace" . }}
33   labels:
34     app: {{ include "common.name" . }}
35     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
36     release: {{ .Release.Name }}
37     heritage: {{ .Release.Service }}
38 data:
39 {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
40 ---
41 apiVersion: v1
42 kind: ConfigMap
43 metadata:
44   name: {{ include "common.fullname" . }}-db-real-configmap
45   namespace: {{ include "common.namespace" . }}
46   labels:
47     app: {{ include "common.name" . }}
48     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
49     release: {{ .Release.Name }}
50     heritage: {{ .Release.Service }}
51 data:
52 {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
53 ---
54 apiVersion: v1
55 kind: ConfigMap
56 metadata:
57   name: {{ include "common.fullname" . }}-db-cached-configmap
58   namespace: {{ include "common.namespace" . }}
59   labels:
60     app: {{ include "common.name" . }}
61     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
62     release: {{ .Release.Name }}
63     heritage: {{ .Release.Service }}
64 data:
65 {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
66 ---
67 apiVersion: v1
68 kind: ConfigMap
69 metadata:
70   name: {{ include "common.fullname" . }}-aaiconfig-configmap
71   namespace: {{ include "common.namespace" . }}
72   labels:
73     app: {{ include "common.name" . }}
74     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
75     release: {{ .Release.Name }}
76     heritage: {{ .Release.Service }}
77 data:
78 {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
79 ---
80 apiVersion: v1
81 kind: ConfigMap
82 metadata:
83   name: {{ include "common.fullname" . }}-springapp-configmap
84   namespace: {{ include "common.namespace" . }}
85   labels:
86     app: {{ include "common.name" . }}
87     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
88     release: {{ .Release.Name }}
89     heritage: {{ .Release.Service }}
90 data:
91 {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
92 ---
93 apiVersion: v1
94 kind: ConfigMap
95 metadata:
96   name: {{ include "common.fullname" . }}-realm-configmap
97   namespace: {{ include "common.namespace" . }}
98   labels:
99     app: {{ include "common.name" . }}
100     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
101     release: {{ .Release.Name }}
102     heritage: {{ .Release.Service }}
103 data:
104 {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}
105 ---
106 apiVersion: v1
107 kind: ConfigMap
108 metadata:
109   name: {{ include "common.fullname" . }}-aaf-props
110   namespace: {{ include "common.namespace" . }}
111   labels:
112     app: {{ include "common.name" . }}
113     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
114     release: {{ .Release.Name }}
115     heritage: {{ .Release.Service }}
116 data:
117 {{ tpl (.Files.Glob "resources/config/aaf/org.osaaf.location.props").AsConfig . | indent 2 }}
118 {{ tpl (.Files.Glob "resources/config/aaf/permissions.properties").AsConfig . | indent 2 }}
119 {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.props").AsConfig . | indent 2 }}
120 {{ tpl (.Files.Glob "resources/config/aaf/cadi.properties").AsConfig . | indent 2 }}
121 ---
122 apiVersion: v1
123 kind: Secret
124 metadata:
125   name: {{ include "common.fullname" . }}-aaf-keys
126   namespace: {{ include "common.namespace" . }}
127   labels:
128     app: {{ include "common.name" . }}
129     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
130     release: {{ .Release.Name }}
131     heritage: {{ .Release.Service }}
132 type: Opaque
133 data:
134 {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }}
135 {{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }}
136 {{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }}