blob: be4b8631950fcef9d8a58fee42bf7249326cdafa [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
Mandeep Khinda4b881972017-08-30 14:24:02 +000016apiVersion: extensions/v1beta1
17kind: Deployment
18metadata:
kj9bf27312018-03-19 15:07:44 +020019 name: {{ include "common.fullname" . }}
20 namespace: {{ include "common.namespace" . }}
21 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000026spec:
kj9bf27312018-03-19 15:07:44 +020027 replicas: {{ .Values.replicaCount }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000028 selector:
29 matchLabels:
kj9bf27312018-03-19 15:07:44 +020030 app: {{ include "common.name" . }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000031 template:
32 metadata:
33 labels:
kj9bf27312018-03-19 15:07:44 +020034 app: {{ include "common.name" . }}
35 release: {{ .Release.Name }}
36 name: {{ include "common.name" . }}
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +010037 annotations:
Harish V Kajur8e7cbd22018-05-07 14:02:46 +000038 checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +010039 msb.onap.org/service-info: '[
40 {
41 "serviceName": "_aai-generic-query",
42 "version": "v11",
43 "url": "/aai/v11/search/generic-query",
44 "protocol": "REST",
45 "port": "8446",
46 "enable_ssl": true,
47 "lb_policy":"ip_hash",
48 "visualRange": "1",
49 "path": "/aai/v11/search/generic-query"
50 },
51 {
52 "serviceName": "_aai-generic-query",
53 "version": "v12",
54 "url": "/aai/v12/search/generic-query",
55 "protocol": "REST",
56 "port": "8446",
57 "enable_ssl": true,
58 "lb_policy":"ip_hash",
59 "visualRange": "1",
60 "path": "/aai/v12/search/generic-query"
61 },
62 {
63 "serviceName": "_aai-generic-query",
64 "version": "v13",
65 "url": "/aai/v13/search/generic-query",
66 "protocol": "REST",
67 "port": "8446",
68 "enable_ssl": true,
69 "lb_policy":"ip_hash",
70 "visualRange": "1",
71 "path": "/aai/v13/search/generic-query"
72 },
73 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +010074 "serviceName": "_aai-generic-query",
75 "version": "v14",
76 "url": "/aai/v14/search/generic-query",
77 "protocol": "REST",
78 "port": "8446",
79 "enable_ssl": true,
80 "lb_policy":"ip_hash",
81 "visualRange": "1",
82 "path": "/aai/v14/search/generic-query"
83 },
84 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +020085 "serviceName": "_aai-generic-query",
86 "version": "v15",
87 "url": "/aai/v15/search/generic-query",
88 "protocol": "REST",
89 "port": "8446",
90 "enable_ssl": true,
91 "lb_policy":"ip_hash",
92 "visualRange": "1",
93 "path": "/aai/v15/search/generic-query"
94 },
95 {
96 "serviceName": "_aai-generic-query",
97 "version": "v16",
98 "url": "/aai/v16/search/generic-query",
99 "protocol": "REST",
100 "port": "8446",
101 "enable_ssl": true,
102 "lb_policy":"ip_hash",
103 "visualRange": "1",
104 "path": "/aai/v16/search/generic-query"
105 },
106 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100107 "serviceName": "_aai-nodes-query",
108 "version": "v11",
109 "url": "/aai/v11/search/nodes-query",
110 "protocol": "REST",
111 "port": "8446",
112 "enable_ssl": true,
113 "lb_policy":"ip_hash",
114 "visualRange": "1",
115 "path": "/aai/v11/search/nodes-query"
116 },
117 {
118 "serviceName": "_aai-nodes-query",
119 "version": "v12",
120 "url": "/aai/v12/search/nodes-query",
121 "protocol": "REST",
122 "port": "8446",
123 "enable_ssl": true,
124 "lb_policy":"ip_hash",
125 "visualRange": "1",
126 "path": "/aai/v12/search/nodes-query"
127 },
128 {
129 "serviceName": "_aai-nodes-query",
130 "version": "v13",
131 "url": "/aai/v13/search/nodes-query",
132 "protocol": "REST",
133 "port": "8446",
134 "enable_ssl": true,
135 "lb_policy":"ip_hash",
136 "visualRange": "1",
137 "path": "/aai/v13/search/nodes-query"
138 },
139 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +0100140 "serviceName": "_aai-nodes-query",
141 "version": "v14",
142 "url": "/aai/v14/search/nodes-query",
143 "protocol": "REST",
144 "port": "8446",
145 "enable_ssl": true,
146 "lb_policy":"ip_hash",
147 "visualRange": "1",
148 "path": "/aai/v14/search/nodes-query"
149 },
150 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +0200151 "serviceName": "_aai-nodes-query",
152 "version": "v15",
153 "url": "/aai/v15/search/nodes-query",
154 "protocol": "REST",
155 "port": "8446",
156 "enable_ssl": true,
157 "lb_policy":"ip_hash",
158 "visualRange": "1",
159 "path": "/aai/v15/search/nodes-query"
160 },
161 {
162 "serviceName": "_aai-nodes-query",
163 "version": "v16",
164 "url": "/aai/v16/search/nodes-query",
165 "protocol": "REST",
166 "port": "8446",
167 "enable_ssl": true,
168 "lb_policy":"ip_hash",
169 "visualRange": "1",
170 "path": "/aai/v16/search/nodes-query"
171 },
172 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100173 "serviceName": "_aai-query",
174 "version": "v11",
175 "url": "/aai/v11/query",
176 "protocol": "REST",
177 "port": "8446",
178 "enable_ssl": true,
179 "lb_policy":"ip_hash",
180 "visualRange": "1",
181 "path": "/aai/v11/query"
182 },
183 {
184 "serviceName": "_aai-query",
185 "version": "v12",
186 "url": "/aai/v12/query",
187 "protocol": "REST",
188 "port": "8446",
189 "enable_ssl": true,
190 "lb_policy":"ip_hash",
191 "visualRange": "1",
192 "path": "/aai/v12/query"
193 },
194 {
195 "serviceName": "_aai-query",
196 "version": "v13",
197 "url": "/aai/v13/query",
198 "protocol": "REST",
199 "port": "8446",
200 "enable_ssl": true,
201 "lb_policy":"ip_hash",
202 "visualRange": "1",
203 "path": "/aai/v13/query"
204 },
205 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +0100206 "serviceName": "_aai-query",
207 "version": "v14",
208 "url": "/aai/v14/query",
209 "protocol": "REST",
210 "port": "8446",
211 "enable_ssl": true,
212 "lb_policy":"ip_hash",
213 "visualRange": "1",
214 "path": "/aai/v14/query"
215 },
216 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +0200217 "serviceName": "_aai-query",
218 "version": "v15",
219 "url": "/aai/v15/query",
220 "protocol": "REST",
221 "port": "8446",
222 "enable_ssl": true,
223 "lb_policy":"ip_hash",
224 "visualRange": "1",
225 "path": "/aai/v15/query"
226 },
227 {
228 "serviceName": "_aai-query",
229 "version": "v16",
230 "url": "/aai/v16/query",
231 "protocol": "REST",
232 "port": "8446",
233 "enable_ssl": true,
234 "lb_policy":"ip_hash",
235 "visualRange": "1",
236 "path": "/aai/v16/query"
237 },
238 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100239 "serviceName": "_aai-named-query",
240 "url": "/aai/search",
241 "protocol": "REST",
242 "port": "8446",
243 "enable_ssl": true,
244 "lb_policy":"ip_hash",
245 "visualRange": "1",
246 "path": "/aai/search"
247 },
248 {
249 "serviceName": "aai-generic-query",
250 "version": "v11",
251 "url": "/aai/v11/search/generic-query",
252 "protocol": "REST",
253 "port": "8446",
254 "enable_ssl": true,
255 "lb_policy":"ip_hash",
256 "visualRange": "1"
257 },
258 {
259 "serviceName": "aai-generic-query",
260 "version": "v12",
261 "url": "/aai/v12/search/generic-query",
262 "protocol": "REST",
263 "port": "8446",
264 "enable_ssl": true,
265 "lb_policy":"ip_hash",
266 "visualRange": "1"
267 },
268 {
269 "serviceName": "aai-generic-query",
270 "version": "v13",
271 "url": "/aai/v13/search/generic-query",
272 "protocol": "REST",
273 "port": "8446",
274 "enable_ssl": true,
275 "lb_policy":"ip_hash",
276 "visualRange": "1"
277 },
278 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +0100279 "serviceName": "aai-generic-query",
280 "version": "v14",
281 "url": "/aai/v14/search/generic-query",
282 "protocol": "REST",
283 "port": "8446",
284 "enable_ssl": true,
285 "lb_policy":"ip_hash",
286 "visualRange": "1"
287 },
288 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +0200289 "serviceName": "aai-generic-query",
290 "version": "v15",
291 "url": "/aai/v15/search/generic-query",
292 "protocol": "REST",
293 "port": "8446",
294 "enable_ssl": true,
295 "lb_policy":"ip_hash",
296 "visualRange": "1"
297 },
298 {
299 "serviceName": "aai-generic-query",
300 "version": "v16",
301 "url": "/aai/v16/search/generic-query",
302 "protocol": "REST",
303 "port": "8446",
304 "enable_ssl": true,
305 "lb_policy":"ip_hash",
306 "visualRange": "1"
307 },
308 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100309 "serviceName": "aai-nodes-query",
310 "version": "v11",
311 "url": "/aai/v11/search/nodes-query",
312 "protocol": "REST",
313 "port": "8446",
314 "enable_ssl": true,
315 "lb_policy":"ip_hash",
316 "visualRange": "1"
317 },
318 {
319 "serviceName": "aai-nodes-query",
320 "version": "v12",
321 "url": "/aai/v12/search/nodes-query",
322 "protocol": "REST",
323 "port": "8446",
324 "enable_ssl": true,
325 "lb_policy":"ip_hash",
326 "visualRange": "1"
327 },
328 {
329 "serviceName": "aai-nodes-query",
330 "version": "v13",
331 "url": "/aai/v13/search/nodes-query",
332 "protocol": "REST",
333 "port": "8446",
334 "enable_ssl": true,
335 "lb_policy":"ip_hash",
336 "visualRange": "1"
337 },
338 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +0100339 "serviceName": "aai-nodes-query",
340 "version": "v14",
341 "url": "/aai/v14/search/nodes-query",
342 "protocol": "REST",
343 "port": "8446",
344 "enable_ssl": true,
345 "lb_policy":"ip_hash",
346 "visualRange": "1"
347 },
348 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +0200349 "serviceName": "aai-nodes-query",
350 "version": "v15",
351 "url": "/aai/v15/search/nodes-query",
352 "protocol": "REST",
353 "port": "8446",
354 "enable_ssl": true,
355 "lb_policy":"ip_hash",
356 "visualRange": "1"
357 },
358 {
359 "serviceName": "aai-nodes-query",
360 "version": "v16",
361 "url": "/aai/v16/search/nodes-query",
362 "protocol": "REST",
363 "port": "8446",
364 "enable_ssl": true,
365 "lb_policy":"ip_hash",
366 "visualRange": "1"
367 },
368 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100369 "serviceName": "aai-query",
370 "version": "v11",
371 "url": "/aai/v11/query",
372 "protocol": "REST",
373 "port": "8446",
374 "enable_ssl": true,
375 "lb_policy":"ip_hash",
376 "visualRange": "1"
377 },
378 {
379 "serviceName": "aai-query",
380 "version": "v12",
381 "url": "/aai/v12/query",
382 "protocol": "REST",
383 "port": "8446",
384 "enable_ssl": true,
385 "lb_policy":"ip_hash",
386 "visualRange": "1"
387 },
388 {
389 "serviceName": "aai-query",
390 "version": "v13",
391 "url": "/aai/v13/query",
392 "protocol": "REST",
393 "port": "8446",
394 "enable_ssl": true,
395 "lb_policy":"ip_hash",
396 "visualRange": "1"
397 },
398 {
Ondrej Frindrichd1400ca2018-12-03 12:46:16 +0100399 "serviceName": "aai-query",
400 "version": "v14",
401 "url": "/aai/v14/query",
402 "protocol": "REST",
403 "port": "8446",
404 "enable_ssl": true,
405 "lb_policy":"ip_hash",
406 "visualRange": "1"
407 },
408 {
Ondrej Frindrich4cf32652019-04-01 15:47:35 +0200409 "serviceName": "aai-query",
410 "version": "v15",
411 "url": "/aai/v15/query",
412 "protocol": "REST",
413 "port": "8446",
414 "enable_ssl": true,
415 "lb_policy":"ip_hash",
416 "visualRange": "1"
417 },
418 {
419 "serviceName": "aai-query",
420 "version": "v16",
421 "url": "/aai/v16/query",
422 "protocol": "REST",
423 "port": "8446",
424 "enable_ssl": true,
425 "lb_policy":"ip_hash",
426 "visualRange": "1"
427 },
428 {
AdrianSlavkovsky03cc5892018-03-08 09:55:53 +0100429 "serviceName": "aai-named-query",
430 "url": "/aai/search",
431 "protocol": "REST",
432 "port": "8446",
433 "enable_ssl": true,
434 "lb_policy":"ip_hash",
435 "visualRange": "1"
436 }
437 ]'
Mandeep Khinda4b881972017-08-30 14:24:02 +0000438 spec:
vagrant1a3a3552018-03-10 23:56:32 +0000439 hostname: aai-traversal
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400440 {{ if .Values.global.initContainers.enabled }}
kiranya52a57832017-11-22 12:21:55 +0000441 initContainers:
442 - command:
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400443 {{ if .Values.global.jobs.createSchema.enabled }}
444 - /root/job_complete.py
445 args:
446 - --job-name
447 - {{ .Release.Name }}-aai-graphadmin-create-db-schema
448 {{ else }}
kiranya52a57832017-11-22 12:21:55 +0000449 - /root/ready.py
450 args:
451 - --container-name
vagrant1a3a3552018-03-10 23:56:32 +0000452 - aai-cassandra
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500453 - --container-name
454 - aai-schema-service
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400455 {{ end }}
kiranya52a57832017-11-22 12:21:55 +0000456 env:
457 - name: NAMESPACE
458 valueFrom:
459 fieldRef:
460 apiVersion: v1
461 fieldPath: metadata.namespace
kj9bf27312018-03-19 15:07:44 +0200462 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
463 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
464 name: {{ include "common.name" . }}-readiness
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400465 {{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000466 containers:
kj9bf27312018-03-19 15:07:44 +0200467 - name: {{ include "common.name" . }}
BorislavGdf11cd52018-05-06 12:55:20 +0000468 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
kj9bf27312018-03-19 15:07:44 +0200469 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000470 env:
vagrant1a3a3552018-03-10 23:56:32 +0000471 - name: DISABLE_UPDATE_QUERY
472 value: {{ .Values.config.disableUpdateQuery | quote }}
473 - name: LOCAL_USER_ID
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400474 value: {{ .Values.global.config.userId | quote }}
vagrant1a3a3552018-03-10 23:56:32 +0000475 - name: LOCAL_GROUP_ID
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400476 value: {{ .Values.global.config.groupId | quote }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000477 volumeMounts:
yuryn8b3bc5a2017-09-13 19:21:03 +0300478 - mountPath: /etc/localtime
479 name: localtime
480 readOnly: true
vagrant1a3a3552018-03-10 23:56:32 +0000481 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties
482 name: {{ include "common.fullname" . }}-db-real-conf
483 subPath: janusgraph-realtime.properties
484 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties
485 name: {{ include "common.fullname" . }}-db-cached-conf
486 subPath: janusgraph-cached.properties
487 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties
488 name: {{ include "common.fullname" . }}-aaiconfig-conf
489 subPath: aaiconfig.properties
Harish V Kajur8e7cbd22018-05-07 14:02:46 +0000490 - mountPath: /opt/aai/logroot/AAI-GQ
vagrant1a3a3552018-03-10 23:56:32 +0000491 name: {{ include "common.fullname" . }}-logs
492 - mountPath: /opt/app/aai-traversal/resources/logback.xml
493 name: {{ include "common.fullname" . }}-log-conf
BorislavGb2b99182017-10-03 15:40:55 +0300494 subPath: logback.xml
vagrant1a3a3552018-03-10 23:56:32 +0000495 - mountPath: /opt/app/aai-traversal/resources/localhost-access-logback.xml
496 name: {{ include "common.fullname" . }}-localhost-access-log-conf
497 subPath: localhost-access-logback.xml
Kajur, Harish (vk250x)5386b5a2018-10-03 11:41:42 -0400498 - mountPath: /opt/app/aai-traversal/resources/etc/auth/realm.properties
499 name: {{ include "common.fullname" . }}-realm-conf
500 subPath: realm.properties
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200501 - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.keyfile
502 name: {{ include "common.fullname" . }}-aaf-certs
503 subPath: org.onap.aai.keyfile
Pavel Paroulek8aaf2cf2018-10-16 15:21:06 +0200504 - mountPath: /opt/app/aai-traversal/resources/aaf/bath_config.csv
505 name: {{ include "common.fullname" . }}-aaf-certs
506 subPath: bath_config.csv
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200507 - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.props
508 name: {{ include "common.fullname" . }}-aaf-properties
509 subPath: org.onap.aai.props
510 - mountPath: /opt/app/aai-traversal/resources/aaf/org.osaaf.location.props
511 name: {{ include "common.fullname" . }}-aaf-properties
512 subPath: org.osaaf.location.props
513 - mountPath: /opt/app/aai-traversal/resources/aaf/permissions.properties
514 name: {{ include "common.fullname" . }}-aaf-properties
515 subPath: permissions.properties
516 - mountPath: /opt/app/aai-traversal/resources/cadi.properties
517 name: {{ include "common.fullname" . }}-aaf-properties
518 subPath: cadi.properties
519 - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.p12
520 name: {{ include "common.fullname" . }}-aaf-certs
521 subPath: org.onap.aai.p12
522 - mountPath: /opt/app/aai-traversal/resources/aaf/truststoreONAPall.jks
Arul.Nambic5f034a2019-01-08 01:55:24 -0500523 name: aai-common-aai-auth-mount
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200524 subPath: truststoreONAPall.jks
vagrant1a3a3552018-03-10 23:56:32 +0000525 - mountPath: /opt/app/aai-traversal/resources/application.properties
526 name: {{ include "common.fullname" . }}-springapp-conf
527 subPath: application.properties
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400528 {{ $global := . }}
529 {{ range $job := .Values.global.config.auth.files }}
530 - mountPath: /opt/app/aai-traversal/resources/etc/auth/{{ . }}
531 name: {{ include "common.fullname" $global }}-auth-truststore-sec
532 subPath: {{ . }}
533 {{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000534 ports:
kj9bf27312018-03-19 15:07:44 +0200535 - containerPort: {{ .Values.service.internalPort }}
536 - containerPort: {{ .Values.service.internalPort2 }}
537 # disable liveness probe when breakpoints set in debugger
538 # so K8s doesn't restart unresponsive container
539 {{ if .Values.liveness.enabled }}
540 livenessProbe:
541 tcpSocket:
542 port: {{ .Values.service.internalPort }}
543 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
544 periodSeconds: {{ .Values.liveness.periodSeconds }}
545 {{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000546 readinessProbe:
547 tcpSocket:
kj9bf27312018-03-19 15:07:44 +0200548 port: {{ .Values.service.internalPort }}
549 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
550 periodSeconds: {{ .Values.readiness.periodSeconds }}
551 resources:
kranthikirangcb25a532018-12-07 16:12:02 -0500552{{ include "common.resources" . }}
kj9bf27312018-03-19 15:07:44 +0200553 {{- if .Values.nodeSelector }}
554 nodeSelector:
555{{ toYaml .Values.nodeSelector | indent 8 }}
556 {{- end -}}
557 {{- if .Values.affinity }}
558 affinity:
559{{ toYaml .Values.affinity | indent 8 }}
560 {{- end }}
561
562 # side car containers
563 - name: filebeat-onap
564 image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
565 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
BorislavGb2b99182017-10-03 15:40:55 +0300566 volumeMounts:
567 - mountPath: /usr/share/filebeat/filebeat.yml
mayankg2703f313ba92018-02-05 09:01:02 +0000568 subPath: filebeat.yml
BorislavGb2b99182017-10-03 15:40:55 +0300569 name: filebeat-conf
570 - mountPath: /var/log/onap
vagrant1a3a3552018-03-10 23:56:32 +0000571 name: {{ include "common.fullname" . }}-logs
BorislavGb2b99182017-10-03 15:40:55 +0300572 - mountPath: /usr/share/filebeat/data
vagrant1a3a3552018-03-10 23:56:32 +0000573 name: {{ include "common.fullname" . }}-filebeat
kranthikirangcb25a532018-12-07 16:12:02 -0500574 resources:
575{{ include "common.resources" . }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000576 volumes:
yuryn8b3bc5a2017-09-13 19:21:03 +0300577 - name: localtime
578 hostPath:
579 path: /etc/localtime
BorislavGb2b99182017-10-03 15:40:55 +0300580 - name: filebeat-conf
mayankg2703f313ba92018-02-05 09:01:02 +0000581 configMap:
kj9bf27312018-03-19 15:07:44 +0200582 name: aai-filebeat
vagrant1a3a3552018-03-10 23:56:32 +0000583 - name: {{ include "common.fullname" . }}-logs
BorislavGb2b99182017-10-03 15:40:55 +0300584 emptyDir: {}
vagrant1a3a3552018-03-10 23:56:32 +0000585 - name: {{ include "common.fullname" . }}-filebeat
BorislavGb2b99182017-10-03 15:40:55 +0300586 emptyDir: {}
vagrant1a3a3552018-03-10 23:56:32 +0000587 - name: {{ include "common.fullname" . }}-log-conf
BorislavGb2b99182017-10-03 15:40:55 +0300588 configMap:
kj9bf27312018-03-19 15:07:44 +0200589 name: {{ include "common.fullname" . }}-log
vagrant1a3a3552018-03-10 23:56:32 +0000590 - name: {{ include "common.fullname" . }}-localhost-access-log-conf
591 configMap:
592 name: {{ include "common.fullname" . }}-localhost-access-log-configmap
593 - name: {{ include "common.fullname" . }}-db-real-conf
594 configMap:
595 name: {{ include "common.fullname" . }}-db-real-configmap
596 - name: {{ include "common.fullname" . }}-db-cached-conf
597 configMap:
598 name: {{ include "common.fullname" . }}-db-cached-configmap
599 - name: {{ include "common.fullname" . }}-aaiconfig-conf
600 configMap:
601 name: {{ include "common.fullname" . }}-aaiconfig-configmap
Pavel Paroulek58ab38e2018-09-12 21:34:41 +0200602 - name: {{ include "common.fullname" . }}-aaf-properties
603 configMap:
604 name: {{ include "common.fullname" . }}-aaf-props
605 - name: {{ include "common.fullname" . }}-aaf-certs
606 secret:
607 secretName: {{ include "common.fullname" . }}-aaf-keys
Arul.Nambic5f034a2019-01-08 01:55:24 -0500608 - name: aai-common-aai-auth-mount
609 secret:
610 secretName: aai-common-aai-auth
vagrant1a3a3552018-03-10 23:56:32 +0000611 - name: {{ include "common.fullname" . }}-springapp-conf
612 configMap:
613 name: {{ include "common.fullname" . }}-springapp-configmap
614 - name: {{ include "common.fullname" . }}-realm-conf
615 configMap:
616 name: {{ include "common.fullname" . }}-realm-configmap
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400617 - name: {{ include "common.fullname" . }}-auth-truststore-sec
vagrant1a3a3552018-03-10 23:56:32 +0000618 secret:
Harish Venkata Kajurcd0d6982019-02-12 23:56:51 -0500619 secretName: aai-common-truststore
Kajur, Harish (vk250x)00107b52018-09-06 14:44:40 -0400620 items:
621 {{ range $job := .Values.global.config.auth.files }}
622 - key: {{ . }}
623 path: {{ . }}
624 {{ end }}
kj9bf27312018-03-19 15:07:44 +0200625 restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000626 imagePullSecrets:
kj9bf27312018-03-19 15:07:44 +0200627 - name: "{{ include "common.namespace" . }}-docker-registry-key"