blob: b5a7fc562f30cfa73869b4440ee7dc061dd1c51b [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# 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
kj9bf27312018-03-19 15:07:44 +020015apiVersion: v1
16kind: ConfigMap
17metadata:
vagrant1a3a3552018-03-10 23:56:32 +000018 name: {{ include "common.fullname" . }}-log
kj9bf27312018-03-19 15:07:44 +020019 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000020 labels:
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020025data:
vagrant1a3a3552018-03-10 23:56:32 +000026{{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
27---
28apiVersion: v1
29kind: ConfigMap
30metadata:
31 name: {{ include "common.fullname" . }}-localhost-access-log-configmap
32 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000033 labels:
34 app: {{ include "common.name" . }}
35 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
36 release: {{ .Release.Name }}
37 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000038data:
39{{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
40---
41apiVersion: v1
42kind: ConfigMap
43metadata:
44 name: {{ include "common.fullname" . }}-db-real-configmap
45 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000046 labels:
47 app: {{ include "common.name" . }}
48 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
49 release: {{ .Release.Name }}
50 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000051data:
52{{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
53---
54apiVersion: v1
55kind: ConfigMap
56metadata:
57 name: {{ include "common.fullname" . }}-db-cached-configmap
58 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000059 labels:
60 app: {{ include "common.name" . }}
61 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
62 release: {{ .Release.Name }}
63 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000064data:
65{{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
66---
67apiVersion: v1
68kind: ConfigMap
69metadata:
70 name: {{ include "common.fullname" . }}-aaiconfig-configmap
71 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000072 labels:
73 app: {{ include "common.name" . }}
74 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
75 release: {{ .Release.Name }}
76 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000077data:
78{{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
79---
80apiVersion: v1
81kind: ConfigMap
82metadata:
83 name: {{ include "common.fullname" . }}-springapp-configmap
84 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000085 labels:
86 app: {{ include "common.name" . }}
87 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
88 release: {{ .Release.Name }}
89 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +000090data:
91{{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
92---
93apiVersion: v1
94kind: ConfigMap
95metadata:
96 name: {{ include "common.fullname" . }}-realm-configmap
97 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000098 labels:
99 app: {{ include "common.name" . }}
100 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
101 release: {{ .Release.Name }}
102 heritage: {{ .Release.Service }}
vagrant1a3a3552018-03-10 23:56:32 +0000103data:
104{{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200105---
106apiVersion: v1
107kind: ConfigMap
108metadata:
109 name: {{ include "common.fullname" . }}-aaf-props
110 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +0000111 labels:
112 app: {{ include "common.name" . }}
113 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
114 release: {{ .Release.Name }}
115 heritage: {{ .Release.Service }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200116data:
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---
123apiVersion: v1
124kind: Secret
125metadata:
126 name: {{ include "common.fullname" . }}-aaf-keys
127 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +0000128 labels:
129 app: {{ include "common.name" . }}
130 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
131 release: {{ .Release.Name }}
132 heritage: {{ .Release.Service }}
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200133type: Opaque
134data:
135{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }}
136{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }}
Pavel Paroulek8aaf2cf2018-10-16 15:21:06 +0200137{{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }}
Ravi Geda2578aa12018-11-07 22:37:16 +0000138
139{{ if .Values.global.installSidecarSecurity }}
140---
141apiVersion: v1
142kind: ConfigMap
143metadata:
144 name: {{ include "common.fullname" . }}-aai-policy-configmap
145 namespace: {{ include "common.namespace" . }}
146 labels:
147 app: {{ include "common.name" . }}
148 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
149 release: {{ .Release.Name }}
150 heritage: {{ .Release.Service }}
151data:
152{{ tpl (.Files.Glob "resources/config/auth/aai_policy.json").AsConfig . | indent 2 }}
153---
154apiVersion: v1
155kind: ConfigMap
156metadata:
157 name: {{ include "common.fullname" . }}-fproxy-config
158 namespace: {{ include "common.namespace" . }}
159data:
160{{ tpl (.Files.Glob "resources/fproxy/config/*").AsConfig . | indent 2 }}
161---
162apiVersion: v1
163kind: ConfigMap
164metadata:
165 name: {{ include "common.fullname" . }}-fproxy-log-config
166 namespace: {{ include "common.namespace" . }}
167 labels:
168 app: {{ include "common.name" . }}
169 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
170 release: {{ .Release.Name }}
171 heritage: {{ .Release.Service }}
172data:
173{{ tpl (.Files.Glob "resources/fproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
174---
175apiVersion: v1
176kind: Secret
177metadata:
178 name: {{ include "common.fullname" . }}-fproxy-auth-config
179 namespace: {{ include "common.namespace" . }}
180type: Opaque
181data:
182{{ tpl (.Files.Glob "resources/fproxy/config/auth/*").AsSecrets . | indent 2 }}
183---
184apiVersion: v1
185kind: ConfigMap
186metadata:
187 name: {{ include "common.fullname" . }}-rproxy-config
188 namespace: {{ include "common.namespace" . }}
189data:
190{{ tpl (.Files.Glob "resources/rproxy/config/*").AsConfig . | indent 2 }}
191---
192apiVersion: v1
193kind: ConfigMap
194metadata:
195 name: {{ include "common.fullname" . }}-rproxy-log-config
196 namespace: {{ include "common.namespace" . }}
197 labels:
198 app: {{ include "common.name" . }}
199 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
200 release: {{ .Release.Name }}
201 heritage: {{ .Release.Service }}
202data:
203{{ tpl (.Files.Glob "resources/rproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
204---
205apiVersion: v1
206kind: Secret
207metadata:
208 name: {{ include "common.fullname" . }}-rproxy-auth-config
209 namespace: {{ include "common.namespace" . }}
210type: Opaque
211data:
212{{ tpl (.Files.Glob "resources/rproxy/config/auth/*").AsSecrets . | indent 2 }}
213---
214apiVersion: v1
215kind: Secret
216metadata:
217 name: {{ include "common.fullname" . }}-rproxy-security-config
218 namespace: {{ include "common.namespace" . }}
219type: Opaque
220data:
221{{ tpl (.Files.Glob "resources/rproxy/config/security/*").AsSecrets . | indent 2 }}
222{{ end }}