[AAI] Make AAI helm3 compatible
[oom.git] / kubernetes / aai / components / aai-resources / templates / deployment.yaml
1 {{/*
2 # Copyright (c) 2017 Amdocs, Bell Canada
3 # Modifications Copyright (c) 2018 AT&T
4 # Modifications Copyright (c) 2020 Nokia
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 */}}
18
19 apiVersion: apps/v1
20 kind: Deployment
21 metadata:
22   name: {{ include "common.fullname" . }}
23   namespace: {{ include "common.namespace" . }}
24   labels:
25     app: {{ include "common.name" . }}
26     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
27     release: {{ include "common.release" . }}
28     heritage: {{ .Release.Service }}
29 spec:
30   replicas: {{ .Values.replicaCount }}
31   selector:
32     matchLabels:
33       app: {{ include "common.name" . }}
34   template:
35     metadata:
36       labels:
37         app: {{ include "common.name" . }}
38         release: {{ include "common.release" . }}
39       name: {{ include "common.name" . }}
40       annotations:
41         checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
42         msb.onap.org/service-info: '[
43           {
44               "serviceName": "_aai-cloudInfrastructure",
45               "version": "v11",
46               "url": "/aai/v11/cloud-infrastructure",
47               "protocol": "REST",
48               "port": "8447",
49               "enable_ssl": true,
50               "lb_policy":"ip_hash",
51               "visualRange": "1",
52               "path": "/aai/v11/cloud-infrastructure"
53           },
54           {
55               "serviceName": "_aai-cloudInfrastructure",
56               "version": "v12",
57               "url": "/aai/v12/cloud-infrastructure",
58               "protocol": "REST",
59               "port": "8447",
60               "enable_ssl": true,
61               "lb_policy":"ip_hash",
62               "visualRange": "1",
63               "path": "/aai/v12/cloud-infrastructure"
64           },
65           {
66               "serviceName": "_aai-cloudInfrastructure",
67               "version": "v13",
68               "url": "/aai/v13/cloud-infrastructure",
69               "protocol": "REST",
70               "port": "8447",
71               "enable_ssl": true,
72               "lb_policy":"ip_hash",
73               "visualRange": "1",
74               "path": "/aai/v13/cloud-infrastructure"
75           },
76           {
77               "serviceName": "_aai-cloudInfrastructure",
78               "version": "v14",
79               "url": "/aai/v14/cloud-infrastructure",
80               "protocol": "REST",
81               "port": "8447",
82               "enable_ssl": true,
83               "lb_policy":"ip_hash",
84               "visualRange": "1",
85               "path": "/aai/v14/cloud-infrastructure"
86           },
87           {
88               "serviceName": "_aai-cloudInfrastructure",
89               "version": "v15",
90               "url": "/aai/v15/cloud-infrastructure",
91               "protocol": "REST",
92               "port": "8447",
93               "enable_ssl": true,
94               "lb_policy":"ip_hash",
95               "visualRange": "1",
96               "path": "/aai/v15/cloud-infrastructure"
97           },
98           {
99               "serviceName": "_aai-cloudInfrastructure",
100               "version": "v16",
101               "url": "/aai/v16/cloud-infrastructure",
102               "protocol": "REST",
103               "port": "8447",
104               "enable_ssl": true,
105               "lb_policy":"ip_hash",
106               "visualRange": "1",
107               "path": "/aai/v16/cloud-infrastructure"
108           },
109           {
110               "serviceName": "_aai-cloudInfrastructure",
111               "version": "v17",
112               "url": "/aai/v17/cloud-infrastructure",
113               "protocol": "REST",
114               "port": "8447",
115               "enable_ssl": true,
116               "lb_policy":"ip_hash",
117               "visualRange": "1",
118               "path": "/aai/v17/cloud-infrastructure"
119           },
120           {
121               "serviceName": "_aai-cloudInfrastructure",
122               "version": "v18",
123               "url": "/aai/v18/cloud-infrastructure",
124               "protocol": "REST",
125               "port": "8447",
126               "enable_ssl": true,
127               "lb_policy":"ip_hash",
128               "visualRange": "1",
129               "path": "/aai/v18/cloud-infrastructure"
130           },
131           {
132               "serviceName": "_aai-cloudInfrastructure",
133               "version": "v19",
134               "url": "/aai/v19/cloud-infrastructure",
135               "protocol": "REST",
136               "port": "8447",
137               "enable_ssl": true,
138               "lb_policy":"ip_hash",
139               "visualRange": "1",
140               "path": "/aai/v19/cloud-infrastructure"
141           },
142           {
143               "serviceName": "_aai-business",
144               "version": "v11",
145               "url": "/aai/v11/business",
146               "protocol": "REST",
147               "port": "8447",
148               "enable_ssl": true,
149               "lb_policy":"ip_hash",
150               "visualRange": "1",
151               "path": "/aai/v11/business"
152           },
153           {
154               "serviceName": "_aai-business",
155               "version": "v12",
156               "url": "/aai/v12/business",
157               "protocol": "REST",
158               "port": "8447",
159               "enable_ssl": true,
160               "lb_policy":"ip_hash",
161               "visualRange": "1",
162               "path": "/aai/v12/business"
163           },
164           {
165               "serviceName": "_aai-business",
166               "version": "v13",
167               "url": "/aai/v13/business",
168               "protocol": "REST",
169               "port": "8447",
170               "enable_ssl": true,
171               "lb_policy":"ip_hash",
172               "visualRange": "1",
173               "path": "/aai/v13/business"
174           },
175           {
176               "serviceName": "_aai-business",
177               "version": "v14",
178               "url": "/aai/v14/business",
179               "protocol": "REST",
180               "port": "8447",
181               "enable_ssl": true,
182               "lb_policy":"ip_hash",
183               "visualRange": "1",
184               "path": "/aai/v14/business"
185           },
186           {
187               "serviceName": "_aai-business",
188               "version": "v15",
189               "url": "/aai/v15/business",
190               "protocol": "REST",
191               "port": "8447",
192               "enable_ssl": true,
193               "lb_policy":"ip_hash",
194               "visualRange": "1",
195               "path": "/aai/v15/business"
196           },
197           {
198               "serviceName": "_aai-business",
199               "version": "v16",
200               "url": "/aai/v16/business",
201               "protocol": "REST",
202               "port": "8447",
203               "enable_ssl": true,
204               "lb_policy":"ip_hash",
205               "visualRange": "1",
206               "path": "/aai/v16/business"
207           },
208           {
209               "serviceName": "_aai-business",
210               "version": "v17",
211               "url": "/aai/v17/business",
212               "protocol": "REST",
213               "port": "8447",
214               "enable_ssl": true,
215               "lb_policy":"ip_hash",
216               "visualRange": "1",
217               "path": "/aai/v17/business"
218           },
219           {
220               "serviceName": "_aai-business",
221               "version": "v18",
222               "url": "/aai/v18/business",
223               "protocol": "REST",
224               "port": "8447",
225               "enable_ssl": true,
226               "lb_policy":"ip_hash",
227               "visualRange": "1",
228               "path": "/aai/v18/business"
229           },
230           {
231               "serviceName": "_aai-business",
232               "version": "v19",
233               "url": "/aai/v19/business",
234               "protocol": "REST",
235               "port": "8447",
236               "enable_ssl": true,
237               "lb_policy":"ip_hash",
238               "visualRange": "1",
239               "path": "/aai/v19/business"
240           },
241           {
242               "serviceName": "_aai-actions",
243               "version": "v11",
244               "url": "/aai/v11/actions",
245               "protocol": "REST",
246               "port": "8447",
247               "enable_ssl": true,
248               "lb_policy":"ip_hash",
249               "visualRange": "1",
250               "path": "/aai/v11/actions"
251           },
252           {
253               "serviceName": "_aai-actions",
254               "version": "v12",
255               "url": "/aai/v12/actions",
256               "protocol": "REST",
257               "port": "8447",
258               "enable_ssl": true,
259               "lb_policy":"ip_hash",
260               "visualRange": "1",
261               "path": "/aai/v12/actions"
262           },
263           {
264               "serviceName": "_aai-actions",
265               "version": "v13",
266               "url": "/aai/v13/actions",
267               "protocol": "REST",
268               "port": "8447",
269               "enable_ssl": true,
270               "lb_policy":"ip_hash",
271               "visualRange": "1",
272               "path": "/aai/v13/actions"
273           },
274           {
275               "serviceName": "_aai-actions",
276               "version": "v14",
277               "url": "/aai/v14/actions",
278               "protocol": "REST",
279               "port": "8447",
280               "enable_ssl": true,
281               "lb_policy":"ip_hash",
282               "visualRange": "1",
283               "path": "/aai/v14/actions"
284           },
285           {
286               "serviceName": "_aai-actions",
287               "version": "v15",
288               "url": "/aai/v15/actions",
289               "protocol": "REST",
290               "port": "8447",
291               "enable_ssl": true,
292               "lb_policy":"ip_hash",
293               "visualRange": "1",
294               "path": "/aai/v15/actions"
295           },
296           {
297               "serviceName": "_aai-actions",
298               "version": "v16",
299               "url": "/aai/v16/actions",
300               "protocol": "REST",
301               "port": "8447",
302               "enable_ssl": true,
303               "lb_policy":"ip_hash",
304               "visualRange": "1",
305               "path": "/aai/v16/actions"
306           },
307           {
308               "serviceName": "_aai-actions",
309               "version": "v17",
310               "url": "/aai/v17/actions",
311               "protocol": "REST",
312               "port": "8447",
313               "enable_ssl": true,
314               "lb_policy":"ip_hash",
315               "visualRange": "1",
316               "path": "/aai/v17/actions"
317           },
318           {
319               "serviceName": "_aai-actions",
320               "version": "v18",
321               "url": "/aai/v18/actions",
322               "protocol": "REST",
323               "port": "8447",
324               "enable_ssl": true,
325               "lb_policy":"ip_hash",
326               "visualRange": "1",
327               "path": "/aai/v18/actions"
328           },
329           {
330               "serviceName": "_aai-actions",
331               "version": "v19",
332               "url": "/aai/v19/actions",
333               "protocol": "REST",
334               "port": "8447",
335               "enable_ssl": true,
336               "lb_policy":"ip_hash",
337               "visualRange": "1",
338               "path": "/aai/v19/actions"
339           },
340           {
341               "serviceName": "_aai-service-design-and-creation",
342               "version": "v11",
343               "url": "/aai/v11/service-design-and-creation",
344               "protocol": "REST",
345               "port": "8447",
346               "enable_ssl": true,
347               "lb_policy":"ip_hash",
348               "visualRange": "1",
349               "path": "/aai/v11/service-design-and-creation"
350           },
351           {
352               "serviceName": "_aai-service-design-and-creation",
353               "version": "v12",
354               "url": "/aai/v12/service-design-and-creation",
355               "protocol": "REST",
356               "port": "8447",
357               "enable_ssl": true,
358               "lb_policy":"ip_hash",
359               "visualRange": "1",
360               "path": "/aai/v12/service-design-and-creation"
361           },
362           {
363               "serviceName": "_aai-service-design-and-creation",
364               "version": "v13",
365               "url": "/aai/v13/service-design-and-creation",
366               "protocol": "REST",
367               "port": "8447",
368               "enable_ssl": true,
369               "lb_policy":"ip_hash",
370               "visualRange": "1",
371               "path": "/aai/v13/service-design-and-creation"
372           },
373           {
374               "serviceName": "_aai-service-design-and-creation",
375               "version": "v14",
376               "url": "/aai/v14/service-design-and-creation",
377               "protocol": "REST",
378               "port": "8447",
379               "enable_ssl": true,
380               "lb_policy":"ip_hash",
381               "visualRange": "1",
382               "path": "/aai/v14/service-design-and-creation"
383           },
384            {
385               "serviceName": "_aai-service-design-and-creation",
386               "version": "v15",
387               "url": "/aai/v15/service-design-and-creation",
388               "protocol": "REST",
389               "port": "8447",
390               "enable_ssl": true,
391               "lb_policy":"ip_hash",
392               "visualRange": "1",
393               "path": "/aai/v15/service-design-and-creation"
394           },
395           {
396               "serviceName": "_aai-service-design-and-creation",
397               "version": "v16",
398               "url": "/aai/v16/service-design-and-creation",
399               "protocol": "REST",
400               "port": "8447",
401               "enable_ssl": true,
402               "lb_policy":"ip_hash",
403               "visualRange": "1",
404               "path": "/aai/v16/service-design-and-creation"
405           },
406           {
407               "serviceName": "_aai-service-design-and-creation",
408               "version": "v17",
409               "url": "/aai/v17/service-design-and-creation",
410               "protocol": "REST",
411               "port": "8447",
412               "enable_ssl": true,
413               "lb_policy":"ip_hash",
414               "visualRange": "1",
415               "path": "/aai/v17/service-design-and-creation"
416           },
417           {
418               "serviceName": "_aai-service-design-and-creation",
419               "version": "v18",
420               "url": "/aai/v18/service-design-and-creation",
421               "protocol": "REST",
422               "port": "8447",
423               "enable_ssl": true,
424               "lb_policy":"ip_hash",
425               "visualRange": "1",
426               "path": "/aai/v18/service-design-and-creation"
427           },
428           {
429               "serviceName": "_aai-service-design-and-creation",
430               "version": "v19",
431               "url": "/aai/v19/service-design-and-creation",
432               "protocol": "REST",
433               "port": "8447",
434               "enable_ssl": true,
435               "lb_policy":"ip_hash",
436               "visualRange": "1",
437               "path": "/aai/v19/service-design-and-creation"
438           },
439           {
440               "serviceName": "_aai-network",
441               "version": "v11",
442               "url": "/aai/v11/network",
443               "protocol": "REST",
444               "port": "8447",
445               "enable_ssl": true,
446               "lb_policy":"ip_hash",
447               "visualRange": "1",
448               "path": "/aai/v11/network"
449           },
450           {
451               "serviceName": "_aai-network",
452               "version": "v12",
453               "url": "/aai/v12/network",
454               "protocol": "REST",
455               "port": "8447",
456               "enable_ssl": true,
457               "lb_policy":"ip_hash",
458               "visualRange": "1",
459               "path": "/aai/v12/network"
460           },
461           {
462               "serviceName": "_aai-network",
463               "version": "v13",
464               "url": "/aai/v13/network",
465               "protocol": "REST",
466               "port": "8447",
467               "enable_ssl": true,
468               "lb_policy":"ip_hash",
469               "visualRange": "1",
470               "path": "/aai/v13/network"
471           },
472           {
473               "serviceName": "_aai-network",
474               "version": "v14",
475               "url": "/aai/v14/network",
476               "protocol": "REST",
477               "port": "8447",
478               "enable_ssl": true,
479               "lb_policy":"ip_hash",
480               "visualRange": "1",
481               "path": "/aai/v14/network"
482           },
483           {
484               "serviceName": "_aai-network",
485               "version": "v15",
486               "url": "/aai/v15/network",
487               "protocol": "REST",
488               "port": "8447",
489               "enable_ssl": true,
490               "lb_policy":"ip_hash",
491               "visualRange": "1",
492               "path": "/aai/v15/network"
493           },
494           {
495               "serviceName": "_aai-network",
496               "version": "v16",
497               "url": "/aai/v16/network",
498               "protocol": "REST",
499               "port": "8447",
500               "enable_ssl": true,
501               "lb_policy":"ip_hash",
502               "visualRange": "1",
503               "path": "/aai/v16/network"
504           },
505           {
506               "serviceName": "_aai-network",
507               "version": "v17",
508               "url": "/aai/v17/network",
509               "protocol": "REST",
510               "port": "8447",
511               "enable_ssl": true,
512               "lb_policy":"ip_hash",
513               "visualRange": "1",
514               "path": "/aai/v17/network"
515           },
516           {
517               "serviceName": "_aai-network",
518               "version": "v18",
519               "url": "/aai/v18/network",
520               "protocol": "REST",
521               "port": "8447",
522               "enable_ssl": true,
523               "lb_policy":"ip_hash",
524               "visualRange": "1",
525               "path": "/aai/v18/network"
526           },
527           {
528               "serviceName": "_aai-network",
529               "version": "v19",
530               "url": "/aai/v19/network",
531               "protocol": "REST",
532               "port": "8447",
533               "enable_ssl": true,
534               "lb_policy":"ip_hash",
535               "visualRange": "1",
536               "path": "/aai/v19/network"
537           },
538           {
539               "serviceName": "_aai-externalSystem",
540               "version": "v11",
541               "url": "/aai/v11/external-system",
542               "protocol": "REST",
543               "port": "8447",
544               "enable_ssl": true,
545               "lb_policy":"ip_hash",
546               "visualRange": "1",
547               "path": "/aai/v11/external-system"
548           },
549           {
550               "serviceName": "_aai-externalSystem",
551               "version": "v12",
552               "url": "/aai/v12/external-system",
553               "protocol": "REST",
554               "port": "8447",
555               "enable_ssl": true,
556               "lb_policy":"ip_hash",
557               "visualRange": "1",
558               "path": "/aai/v12/external-system"
559           },
560           {
561               "serviceName": "_aai-externalSystem",
562               "version": "v13",
563               "url": "/aai/v13/external-system",
564               "protocol": "REST",
565               "port": "8447",
566               "enable_ssl": true,
567               "lb_policy":"ip_hash",
568               "visualRange": "1",
569               "path": "/aai/v13/external-system"
570           },
571           {
572               "serviceName": "_aai-externalSystem",
573               "version": "v14",
574               "url": "/aai/v14/external-system",
575               "protocol": "REST",
576               "port": "8447",
577               "enable_ssl": true,
578               "lb_policy":"ip_hash",
579               "visualRange": "1",
580               "path": "/aai/v14/external-system"
581           },
582           {
583               "serviceName": "_aai-externalSystem",
584               "version": "v15",
585               "url": "/aai/v15/external-system",
586               "protocol": "REST",
587               "port": "8447",
588               "enable_ssl": true,
589               "lb_policy":"ip_hash",
590               "visualRange": "1",
591               "path": "/aai/v15/external-system"
592           },
593           {
594               "serviceName": "_aai-externalSystem",
595               "version": "v16",
596               "url": "/aai/v16/external-system",
597               "protocol": "REST",
598               "port": "8447",
599               "enable_ssl": true,
600               "lb_policy":"ip_hash",
601               "visualRange": "1",
602               "path": "/aai/v16/external-system"
603           },
604           {
605               "serviceName": "_aai-externalSystem",
606               "version": "v17",
607               "url": "/aai/v17/external-system",
608               "protocol": "REST",
609               "port": "8447",
610               "enable_ssl": true,
611               "lb_policy":"ip_hash",
612               "visualRange": "1",
613               "path": "/aai/v17/external-system"
614           },
615           {
616               "serviceName": "_aai-externalSystem",
617               "version": "v18",
618               "url": "/aai/v18/external-system",
619               "protocol": "REST",
620               "port": "8447",
621               "enable_ssl": true,
622               "lb_policy":"ip_hash",
623               "visualRange": "1",
624               "path": "/aai/v18/external-system"
625           },
626           {
627               "serviceName": "_aai-externalSystem",
628               "version": "v19",
629               "url": "/aai/v19/external-system",
630               "protocol": "REST",
631               "port": "8447",
632               "enable_ssl": true,
633               "lb_policy":"ip_hash",
634               "visualRange": "1",
635               "path": "/aai/v19/external-system"
636           },
637           {
638               "serviceName": "aai-cloudInfrastructure",
639               "version": "v11",
640               "url": "/aai/v11/cloud-infrastructure",
641               "protocol": "REST",
642               "port": "8447",
643               "enable_ssl": true,
644               "lb_policy":"ip_hash",
645               "visualRange": "1"
646           },
647           {
648               "serviceName": "aai-cloudInfrastructure",
649               "version": "v12",
650               "url": "/aai/v12/cloud-infrastructure",
651               "protocol": "REST",
652               "port": "8447",
653               "enable_ssl": true,
654               "lb_policy":"ip_hash",
655               "visualRange": "1"
656           },
657           {
658               "serviceName": "aai-cloudInfrastructure",
659               "version": "v13",
660               "url": "/aai/v13/cloud-infrastructure",
661               "protocol": "REST",
662               "port": "8447",
663               "enable_ssl": true,
664               "lb_policy":"ip_hash",
665               "visualRange": "1"
666           },
667           {
668               "serviceName": "aai-cloudInfrastructure",
669               "version": "v14",
670               "url": "/aai/v14/cloud-infrastructure",
671               "protocol": "REST",
672               "port": "8447",
673               "enable_ssl": true,
674               "lb_policy":"ip_hash",
675               "visualRange": "1"
676           },
677           {
678               "serviceName": "aai-cloudInfrastructure",
679               "version": "v15",
680               "url": "/aai/v15/cloud-infrastructure",
681               "protocol": "REST",
682               "port": "8447",
683               "enable_ssl": true,
684               "lb_policy":"ip_hash",
685               "visualRange": "1"
686           },
687           {
688               "serviceName": "aai-cloudInfrastructure",
689               "version": "v16",
690               "url": "/aai/v16/cloud-infrastructure",
691               "protocol": "REST",
692               "port": "8447",
693               "enable_ssl": true,
694               "lb_policy":"ip_hash",
695               "visualRange": "1"
696           },
697           {
698               "serviceName": "aai-cloudInfrastructure",
699               "version": "v17",
700               "url": "/aai/v17/cloud-infrastructure",
701               "protocol": "REST",
702               "port": "8447",
703               "enable_ssl": true,
704               "lb_policy":"ip_hash",
705               "visualRange": "1"
706           },
707           {
708               "serviceName": "aai-cloudInfrastructure",
709               "version": "v18",
710               "url": "/aai/v18/cloud-infrastructure",
711               "protocol": "REST",
712               "port": "8447",
713               "enable_ssl": true,
714               "lb_policy":"ip_hash",
715               "visualRange": "1"
716           },
717           {
718               "serviceName": "aai-cloudInfrastructure",
719               "version": "v19",
720               "url": "/aai/v19/cloud-infrastructure",
721               "protocol": "REST",
722               "port": "8447",
723               "enable_ssl": true,
724               "lb_policy":"ip_hash",
725               "visualRange": "1"
726           },
727           {
728               "serviceName": "aai-business",
729               "version": "v11",
730               "url": "/aai/v11/business",
731               "protocol": "REST",
732               "port": "8447",
733               "enable_ssl": true,
734               "lb_policy":"ip_hash",
735               "visualRange": "1"
736           },
737           {
738               "serviceName": "aai-business",
739               "version": "v12",
740               "url": "/aai/v12/business",
741               "protocol": "REST",
742               "port": "8447",
743               "enable_ssl": true,
744               "lb_policy":"ip_hash",
745               "visualRange": "1"
746           },
747           {
748               "serviceName": "aai-business",
749               "version": "v13",
750               "url": "/aai/v13/business",
751               "protocol": "REST",
752               "port": "8447",
753               "enable_ssl": true,
754               "lb_policy":"ip_hash",
755               "visualRange": "1"
756           },
757           {
758               "serviceName": "aai-business",
759               "version": "v14",
760               "url": "/aai/v14/business",
761               "protocol": "REST",
762               "port": "8447",
763               "enable_ssl": true,
764               "lb_policy":"ip_hash",
765               "visualRange": "1"
766           },
767           {
768               "serviceName": "aai-business",
769               "version": "v15",
770               "url": "/aai/v15/business",
771               "protocol": "REST",
772               "port": "8447",
773               "enable_ssl": true,
774               "lb_policy":"ip_hash",
775               "visualRange": "1"
776           },
777           {
778               "serviceName": "aai-business",
779               "version": "v16",
780               "url": "/aai/v16/business",
781               "protocol": "REST",
782               "port": "8447",
783               "enable_ssl": true,
784               "lb_policy":"ip_hash",
785               "visualRange": "1"
786           },
787           {
788               "serviceName": "aai-business",
789               "version": "v17",
790               "url": "/aai/v17/business",
791               "protocol": "REST",
792               "port": "8447",
793               "enable_ssl": true,
794               "lb_policy":"ip_hash",
795               "visualRange": "1"
796           },
797           {
798               "serviceName": "aai-business",
799               "version": "v18",
800               "url": "/aai/v18/business",
801               "protocol": "REST",
802               "port": "8447",
803               "enable_ssl": true,
804               "lb_policy":"ip_hash",
805               "visualRange": "1"
806           },
807           {
808               "serviceName": "aai-business",
809               "version": "v19",
810               "url": "/aai/v19/business",
811               "protocol": "REST",
812               "port": "8447",
813               "enable_ssl": true,
814               "lb_policy":"ip_hash",
815               "visualRange": "1"
816           },
817           {
818               "serviceName": "aai-actions",
819               "version": "v11",
820               "url": "/aai/v11/actions",
821               "protocol": "REST",
822               "port": "8447",
823               "enable_ssl": true,
824               "lb_policy":"ip_hash",
825               "visualRange": "1"
826           },
827           {
828               "serviceName": "aai-actions",
829               "version": "v12",
830               "url": "/aai/v12/actions",
831               "protocol": "REST",
832               "port": "8447",
833               "enable_ssl": true,
834               "lb_policy":"ip_hash",
835               "visualRange": "1"
836           },
837           {
838               "serviceName": "aai-actions",
839               "version": "v13",
840               "url": "/aai/v13/actions",
841               "protocol": "REST",
842               "port": "8447",
843               "enable_ssl": true,
844               "lb_policy":"ip_hash",
845               "visualRange": "1"
846           },
847           {
848               "serviceName": "aai-actions",
849               "version": "v14",
850               "url": "/aai/v14/actions",
851               "protocol": "REST",
852               "port": "8447",
853               "enable_ssl": true,
854               "lb_policy":"ip_hash",
855               "visualRange": "1"
856           },
857           {
858               "serviceName": "aai-actions",
859               "version": "v15",
860               "url": "/aai/v15/actions",
861               "protocol": "REST",
862               "port": "8447",
863               "enable_ssl": true,
864               "lb_policy":"ip_hash",
865               "visualRange": "1"
866           },
867           {
868               "serviceName": "aai-actions",
869               "version": "v16",
870               "url": "/aai/v16/actions",
871               "protocol": "REST",
872               "port": "8447",
873               "enable_ssl": true,
874               "lb_policy":"ip_hash",
875               "visualRange": "1"
876           },
877           {
878               "serviceName": "aai-actions",
879               "version": "v17",
880               "url": "/aai/v17/actions",
881               "protocol": "REST",
882               "port": "8447",
883               "enable_ssl": true,
884               "lb_policy":"ip_hash",
885               "visualRange": "1"
886           },
887           {
888               "serviceName": "aai-actions",
889               "version": "v18",
890               "url": "/aai/v18/actions",
891               "protocol": "REST",
892               "port": "8447",
893               "enable_ssl": true,
894               "lb_policy":"ip_hash",
895               "visualRange": "1"
896           },
897           {
898               "serviceName": "aai-actions",
899               "version": "v19",
900               "url": "/aai/v19/actions",
901               "protocol": "REST",
902               "port": "8447",
903               "enable_ssl": true,
904               "lb_policy":"ip_hash",
905               "visualRange": "1"
906           },
907           {
908               "serviceName": "aai-service-design-and-creation",
909               "version": "v11",
910               "url": "/aai/v11/service-design-and-creation",
911               "protocol": "REST",
912               "port": "8447",
913               "enable_ssl": true,
914               "lb_policy":"ip_hash",
915               "visualRange": "1"
916           },
917           {
918               "serviceName": "aai-service-design-and-creation",
919               "version": "v12",
920               "url": "/aai/v12/service-design-and-creation",
921               "protocol": "REST",
922               "port": "8447",
923               "enable_ssl": true,
924               "lb_policy":"ip_hash",
925               "visualRange": "1"
926           },
927           {
928               "serviceName": "aai-service-design-and-creation",
929               "version": "v13",
930               "url": "/aai/v13/service-design-and-creation",
931               "protocol": "REST",
932               "port": "8447",
933               "enable_ssl": true,
934               "lb_policy":"ip_hash",
935               "visualRange": "1"
936           },
937           {
938               "serviceName": "aai-service-design-and-creation",
939               "version": "v14",
940               "url": "/aai/v14/service-design-and-creation",
941               "protocol": "REST",
942               "port": "8447",
943               "enable_ssl": true,
944               "lb_policy":"ip_hash",
945               "visualRange": "1"
946           },
947           {
948               "serviceName": "aai-service-design-and-creation",
949               "version": "v15",
950               "url": "/aai/v15/service-design-and-creation",
951               "protocol": "REST",
952               "port": "8447",
953               "enable_ssl": true,
954               "lb_policy":"ip_hash",
955               "visualRange": "1"
956           },
957           {
958               "serviceName": "aai-service-design-and-creation",
959               "version": "v16",
960               "url": "/aai/v16/service-design-and-creation",
961               "protocol": "REST",
962               "port": "8447",
963               "enable_ssl": true,
964               "lb_policy":"ip_hash",
965               "visualRange": "1"
966           },
967           {
968               "serviceName": "aai-service-design-and-creation",
969               "version": "v17",
970               "url": "/aai/v17/service-design-and-creation",
971               "protocol": "REST",
972               "port": "8447",
973               "enable_ssl": true,
974               "lb_policy":"ip_hash",
975               "visualRange": "1"
976           },
977           {
978               "serviceName": "aai-service-design-and-creation",
979               "version": "v18",
980               "url": "/aai/v18/service-design-and-creation",
981               "protocol": "REST",
982               "port": "8447",
983               "enable_ssl": true,
984               "lb_policy":"ip_hash",
985               "visualRange": "1"
986           },
987           {
988               "serviceName": "aai-service-design-and-creation",
989               "version": "v19",
990               "url": "/aai/v19/service-design-and-creation",
991               "protocol": "REST",
992               "port": "8447",
993               "enable_ssl": true,
994               "lb_policy":"ip_hash",
995               "visualRange": "1"
996           },
997           {
998               "serviceName": "aai-network",
999               "version": "v11",
1000               "url": "/aai/v11/network",
1001               "protocol": "REST",
1002               "port": "8447",
1003               "enable_ssl": true,
1004               "lb_policy":"ip_hash",
1005               "visualRange": "1"
1006           },
1007           {
1008               "serviceName": "aai-network",
1009               "version": "v12",
1010               "url": "/aai/v12/network",
1011               "protocol": "REST",
1012               "port": "8447",
1013               "enable_ssl": true,
1014               "lb_policy":"ip_hash",
1015               "visualRange": "1"
1016           },
1017           {
1018               "serviceName": "aai-network",
1019               "version": "v13",
1020               "url": "/aai/v13/network",
1021               "protocol": "REST",
1022               "port": "8447",
1023               "enable_ssl": true,
1024               "lb_policy":"ip_hash",
1025               "visualRange": "1"
1026           },
1027           {
1028               "serviceName": "aai-network",
1029               "version": "v14",
1030               "url": "/aai/v14/network",
1031               "protocol": "REST",
1032               "port": "8447",
1033               "enable_ssl": true,
1034               "lb_policy":"ip_hash",
1035               "visualRange": "1"
1036           },
1037           {
1038               "serviceName": "aai-network",
1039               "version": "v15",
1040               "url": "/aai/v15/network",
1041               "protocol": "REST",
1042               "port": "8447",
1043               "enable_ssl": true,
1044               "lb_policy":"ip_hash",
1045               "visualRange": "1"
1046           },
1047           {
1048               "serviceName": "aai-network",
1049               "version": "v16",
1050               "url": "/aai/v16/network",
1051               "protocol": "REST",
1052               "port": "8447",
1053               "enable_ssl": true,
1054               "lb_policy":"ip_hash",
1055               "visualRange": "1"
1056           },
1057           {
1058               "serviceName": "aai-network",
1059               "version": "v17",
1060               "url": "/aai/v17/network",
1061               "protocol": "REST",
1062               "port": "8447",
1063               "enable_ssl": true,
1064               "lb_policy":"ip_hash",
1065               "visualRange": "1"
1066           },
1067           {
1068               "serviceName": "aai-network",
1069               "version": "v18",
1070               "url": "/aai/v18/network",
1071               "protocol": "REST",
1072               "port": "8447",
1073               "enable_ssl": true,
1074               "lb_policy":"ip_hash",
1075               "visualRange": "1"
1076           },
1077           {
1078               "serviceName": "aai-network",
1079               "version": "v19",
1080               "url": "/aai/v19/network",
1081               "protocol": "REST",
1082               "port": "8447",
1083               "enable_ssl": true,
1084               "lb_policy":"ip_hash",
1085               "visualRange": "1"
1086           },
1087           {
1088               "serviceName": "aai-externalSystem",
1089               "version": "v11",
1090               "url": "/aai/v11/external-system",
1091               "protocol": "REST",
1092               "port": "8447",
1093               "enable_ssl": true,
1094               "lb_policy":"ip_hash",
1095               "visualRange": "1"
1096           },
1097           {
1098               "serviceName": "aai-externalSystem",
1099               "version": "v12",
1100               "url": "/aai/v12/external-system",
1101               "protocol": "REST",
1102               "port": "8447",
1103               "enable_ssl": true,
1104               "lb_policy":"ip_hash",
1105               "visualRange": "1"
1106           },
1107           {
1108               "serviceName": "aai-externalSystem",
1109               "version": "v13",
1110               "url": "/aai/v13/external-system",
1111               "protocol": "REST",
1112               "port": "8447",
1113               "enable_ssl": true,
1114               "lb_policy":"ip_hash",
1115               "visualRange": "1"
1116           },
1117           {
1118               "serviceName": "aai-externalSystem",
1119               "version": "v14",
1120               "url": "/aai/v14/external-system",
1121               "protocol": "REST",
1122               "port": "8447",
1123               "enable_ssl": true,
1124               "lb_policy":"ip_hash",
1125               "visualRange": "1"
1126           },
1127           {
1128               "serviceName": "aai-externalSystem",
1129               "version": "v15",
1130               "url": "/aai/v15/external-system",
1131               "protocol": "REST",
1132               "port": "8447",
1133               "enable_ssl": true,
1134               "lb_policy":"ip_hash",
1135               "visualRange": "1"
1136           },
1137           {
1138               "serviceName": "aai-externalSystem",
1139               "version": "v16",
1140               "url": "/aai/v16/external-system",
1141               "protocol": "REST",
1142               "port": "8447",
1143               "enable_ssl": true,
1144               "lb_policy":"ip_hash",
1145               "visualRange": "1"
1146           },
1147           {
1148               "serviceName": "aai-externalSystem",
1149               "version": "v17",
1150               "url": "/aai/v17/external-system",
1151               "protocol": "REST",
1152               "port": "8447",
1153               "enable_ssl": true,
1154               "lb_policy":"ip_hash",
1155               "visualRange": "1"
1156           },
1157           {
1158               "serviceName": "aai-externalSystem",
1159               "version": "v18",
1160               "url": "/aai/v18/external-system",
1161               "protocol": "REST",
1162               "port": "8447",
1163               "enable_ssl": true,
1164               "lb_policy":"ip_hash",
1165               "visualRange": "1"
1166           },
1167           {
1168               "serviceName": "aai-externalSystem",
1169               "version": "v19",
1170               "url": "/aai/v19/external-system",
1171               "protocol": "REST",
1172               "port": "8447",
1173               "enable_ssl": true,
1174               "lb_policy":"ip_hash",
1175               "visualRange": "1"
1176           }
1177           ]'
1178     spec:
1179       hostname: aai-resources
1180     {{- if .Values.global.initContainers.enabled }}
1181       {{- if .Values.global.installSidecarSecurity }}
1182       hostAliases:
1183       - ip: {{ .Values.global.aaf.serverIp }}
1184         hostnames:
1185         - {{ .Values.global.aaf.serverHostname }}
1186       {{- end }}
1187       initContainers:
1188       - command:
1189       {{- if .Values.global.jobs.migration.enabled }}
1190         - /app/ready.py
1191         args:
1192         - --job-name
1193         - {{ include "common.release" . }}-aai-graphadmin-migration
1194       {{- else if .Values.global.jobs.createSchema.enabled  }}
1195         - /app/ready.py
1196         args:
1197         - --job-name
1198         - {{ include "common.release" . }}-aai-graphadmin-create-db-schema
1199       {{- else }}
1200         - /app/ready.py
1201         args:
1202         - --container-name
1203         {{- if .Values.global.cassandra.localCluster }}
1204         - aai-cassandra
1205         {{- else }}
1206         - cassandra
1207         {{- end }}
1208         - --container-name
1209         - aai-schema-service
1210       {{- end }}
1211         env:
1212         - name: NAMESPACE
1213           valueFrom:
1214             fieldRef:
1215               apiVersion: v1
1216               fieldPath: metadata.namespace
1217         image: {{ include "repositoryGenerator.image.readiness" . }}
1218         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1219         name: {{ include "common.name" . }}-readiness
1220       {{- if .Values.global.installSidecarSecurity }}
1221       - name: {{ .Values.global.tproxyConfig.name }}
1222         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.tproxyConfig.image }}
1223         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1224         securityContext:
1225           privileged: true
1226       {{- end }}
1227     {{- end }}
1228       containers:
1229       - name: {{ include "common.name" . }}
1230         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
1231         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1232         env:
1233         - name: LOCAL_USER_ID
1234           value: {{ .Values.global.config.userId | quote }}
1235         - name: LOCAL_GROUP_ID
1236           value: {{ .Values.global.config.groupId | quote }}
1237         volumeMounts:
1238         - mountPath: /etc/localtime
1239           name: localtime
1240           readOnly: true
1241         - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties
1242           name: {{ include "common.fullname" . }}-config
1243           subPath: janusgraph-realtime.properties
1244         - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties
1245           name: {{ include "common.fullname" . }}-config
1246           subPath: janusgraph-cached.properties
1247         - mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
1248           name: {{ include "common.fullname" . }}-config
1249           subPath: aaiconfig.properties
1250         - mountPath: /opt/aai/logroot/AAI-RES
1251           name: {{ include "common.fullname" . }}-logs
1252         - mountPath: /opt/app/aai-resources/resources/logback.xml
1253           name: {{ include "common.fullname" . }}-config
1254           subPath: logback.xml
1255         - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml
1256           name: {{ include "common.fullname" . }}-config
1257           subPath: localhost-access-logback.xml
1258         - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties
1259           name: {{ include "common.fullname" . }}-config
1260           subPath: realm.properties
1261         {{- if .Values.global.installSidecarSecurity }}
1262         - mountPath: /opt/app/aai-resources/resources/etc/auth/aai_policy.json
1263           name: {{ include "common.fullname" . }}-aai-policy
1264           subPath: aai_policy.json
1265         {{- end }}
1266         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile
1267           name: {{ include "common.fullname" . }}-aaf-certs
1268           subPath: org.onap.aai.keyfile
1269         - mountPath: /opt/app/aai-resources/resources/aaf/bath_config.csv
1270           name: {{ include "common.fullname" . }}-aaf-certs
1271           subPath: bath_config.csv
1272         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.props
1273           name: {{ include "common.fullname" . }}-aaf-properties
1274           subPath: org.onap.aai.props
1275         - mountPath: /opt/app/aai-resources/resources/aaf/org.osaaf.location.props
1276           name: {{ include "common.fullname" . }}-aaf-properties
1277           subPath: org.osaaf.location.props
1278         - mountPath: /opt/app/aai-resources/resources/aaf/permissions.properties
1279           name: {{ include "common.fullname" . }}-aaf-properties
1280           subPath: permissions.properties
1281         - mountPath: /opt/app/aai-resources/resources/cadi.properties
1282           name: {{ include "common.fullname" . }}-aaf-properties
1283           subPath: cadi.properties
1284         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.p12
1285           name: {{ include "common.fullname" . }}-aaf-certs
1286           subPath: org.onap.aai.p12
1287         - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks
1288           name: aai-common-aai-auth-mount
1289           subPath: truststoreONAPall.jks
1290         - mountPath: /opt/app/aai-resources/resources/application.properties
1291           name: {{ include "common.fullname" . }}-config
1292           subPath: application.properties
1293         - mountPath: /opt/app/aai-resources/resources/application-keycloak.properties
1294           name: {{ include "common.fullname" . }}-config
1295           subPath: application-keycloak.properties
1296           {{- $global := . }}
1297           {{- range $job := .Values.global.config.auth.files }}
1298         - mountPath: /opt/app/aai-resources/resources/etc/auth/{{ . }}
1299           name: {{ include "common.fullname" $global }}-auth-truststore-sec
1300           subPath: {{ . }}
1301           {{- end }}
1302         ports:
1303         - containerPort: {{ .Values.service.internalPort }}
1304         - containerPort: {{ .Values.service.internalPort2 }}
1305         # disable liveness probe when breakpoints set in debugger
1306         # so K8s doesn't restart unresponsive container
1307         {{- if .Values.liveness.enabled }}
1308         livenessProbe:
1309           tcpSocket:
1310             port: {{ .Values.service.internalPort }}
1311           initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
1312           periodSeconds: {{ .Values.liveness.periodSeconds }}
1313         {{- end }}
1314         readinessProbe:
1315           tcpSocket:
1316             port: {{ .Values.service.internalPort }}
1317           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
1318           periodSeconds: {{ .Values.readiness.periodSeconds }}
1319         resources: {{ include "common.resources" . | nindent 12 }}
1320       {{- if .Values.nodeSelector }}
1321       nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
1322       {{- end }}
1323       {{- if .Values.affinity }}
1324       affinity: {{ toYaml .Values.affinity | nindent 8 }}
1325       {{- end }}
1326       # side car containers
1327       - name: filebeat-onap
1328         image: {{ include "repositoryGenerator.image.logging" . }}
1329         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1330         volumeMounts:
1331         - mountPath: /usr/share/filebeat/filebeat.yml
1332           subPath: filebeat.yml
1333           name: filebeat-conf
1334         - mountPath: /var/log/onap
1335           name: {{ include "common.fullname" . }}-logs
1336         - mountPath: /usr/share/filebeat/data
1337           name: {{ include "common.fullname" . }}-filebeat
1338         resources: {{ include "common.resources" . | nindent 12 }}
1339     {{- if .Values.global.installSidecarSecurity }}
1340       - name: {{ .Values.global.rproxy.name }}
1341         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.rproxy.image }}
1342         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1343         env:
1344         - name: CONFIG_HOME
1345           value: "/opt/app/rproxy/config"
1346         - name: KEY_STORE_PASSWORD
1347           value: {{ .Values.sidecar.keyStorePassword }}
1348         - name: spring_profiles_active
1349           value: {{ .Values.global.rproxy.activeSpringProfiles }}
1350         volumeMounts:
1351         - name: {{ include "common.fullname" . }}-rproxy-config
1352           mountPath: /opt/app/rproxy/config/forward-proxy.properties
1353           subPath: forward-proxy.properties
1354         - name: {{ include "common.fullname" . }}-rproxy-config
1355           mountPath: /opt/app/rproxy/config/primary-service.properties
1356           subPath: primary-service.properties
1357         - name: {{ include "common.fullname" . }}-rproxy-config
1358           mountPath: /opt/app/rproxy/config/reverse-proxy.properties
1359           subPath: reverse-proxy.properties
1360         - name: {{ include "common.fullname" . }}-rproxy-config
1361           mountPath: /opt/app/rproxy/config/cadi.properties
1362           subPath: cadi.properties
1363         - name: {{ include "common.fullname" . }}-rproxy-log-config
1364           mountPath: /opt/app/rproxy/config/logback-spring.xml
1365           subPath: logback-spring.xml
1366         - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1367           mountPath: /opt/app/rproxy/config/auth/uri-authorization.json
1368           subPath: uri-authorization.json
1369         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1370           mountPath: /opt/app/rproxy/config/auth/tomcat_keystore
1371           subPath: tomcat_keystore
1372         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1373           mountPath: /opt/app/rproxy/config/auth/client-cert.p12
1374           subPath: client-cert.p12
1375         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1376           mountPath: /opt/app/rproxy/config/auth/aaf_truststore.jks
1377           subPath: aaf_truststore.jks
1378         - name: {{ include "common.fullname" . }}-rproxy-security-config
1379           mountPath: /opt/app/rproxy/config/security/keyfile
1380           subPath: keyfile
1381         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1382           mountPath: /opt/app/rproxy/config/auth/org.onap.aai.p12
1383           subPath: org.onap.aai.p12
1384         ports:
1385         - containerPort: {{ .Values.global.rproxy.port }}
1386       - name: {{ .Values.global.fproxy.name }}
1387         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.fproxy.image }}
1388         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1389         env:
1390         - name: CONFIG_HOME
1391           value: "/opt/app/fproxy/config"
1392         - name: KEY_STORE_PASSWORD
1393           value: {{ .Values.sidecar.keyStorePassword }}
1394         - name: TRUST_STORE_PASSWORD
1395           value: {{ .Values.sidecar.trustStorePassword }}
1396         - name: spring_profiles_active
1397           value: {{ .Values.global.fproxy.activeSpringProfiles }}
1398         volumeMounts:
1399         - name: {{ include "common.fullname" . }}-fproxy-config
1400           mountPath: /opt/app/fproxy/config/fproxy.properties
1401           subPath: fproxy.properties
1402         - name: {{ include "common.fullname" . }}-fproxy-log-config
1403           mountPath: /opt/app/fproxy/config/logback-spring.xml
1404           subPath: logback-spring.xml
1405         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1406           mountPath: /opt/app/fproxy/config/auth/fproxy_truststore
1407           subPath: fproxy_truststore
1408         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1409           mountPath: /opt/app/fproxy/config/auth/tomcat_keystore
1410           subPath: tomcat_keystore
1411         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1412           mountPath: /opt/app/fproxy/config/auth/client-cert.p12
1413           subPath: client-cert.p12
1414         ports:
1415         - containerPort: {{ .Values.global.fproxy.port }}
1416     {{- end }}
1417       volumes:
1418       - name: aai-common-aai-auth-mount
1419         secret:
1420           secretName: aai-common-aai-auth
1421       - name: localtime
1422         hostPath:
1423           path: /etc/localtime
1424       - name: filebeat-conf
1425         configMap:
1426           name: aai-filebeat
1427       - name: {{ include "common.fullname" . }}-logs
1428         emptyDir: {}
1429       - name: {{ include "common.fullname" . }}-filebeat
1430         emptyDir: {}
1431       - name: {{ include "common.fullname" . }}-config
1432         configMap:
1433           name: {{ include "common.fullname" . }}-configmap
1434       - name: {{ include "common.fullname" . }}-aaf-properties
1435         configMap:
1436           name: {{ include "common.fullname" . }}-aaf-props
1437       - name: {{ include "common.fullname" . }}-aaf-certs
1438         secret:
1439           secretName: {{ include "common.fullname" . }}-aaf-keys
1440       - name: {{ include "common.fullname" . }}-auth-truststore-sec
1441         secret:
1442           secretName: aai-common-truststore
1443           items:
1444           {{- range $job := .Values.global.config.auth.files }}
1445           - key: {{ . }}
1446             path: {{ . }}
1447           {{- end }}
1448     {{- if .Values.global.installSidecarSecurity }}
1449       - name: {{ include "common.fullname" . }}-aai-policy
1450         configMap:
1451           name: {{ include "common.fullname" . }}-aai-policy-configmap
1452       - name: {{ include "common.fullname" . }}-rproxy-config
1453         configMap:
1454           name: {{ include "common.fullname" . }}-rproxy-config
1455       - name: {{ include "common.fullname" . }}-rproxy-log-config
1456         configMap:
1457           name: {{ include "common.fullname" . }}-rproxy-log-config
1458       - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1459         configMap:
1460           name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1461       - name: {{ include "common.fullname" . }}-rproxy-auth-config
1462         secret:
1463           secretName: {{ include "common.fullname" . }}-rproxy-auth-config
1464       - name: {{ include "common.fullname" . }}-rproxy-security-config
1465         secret:
1466           secretName: {{ include "common.fullname" . }}-rproxy-security-config
1467       - name: {{ include "common.fullname" . }}-fproxy-config
1468         configMap:
1469           name: {{ include "common.fullname" . }}-fproxy-config
1470       - name: {{ include "common.fullname" . }}-fproxy-log-config
1471         configMap:
1472           name: {{ include "common.fullname" . }}-fproxy-log-config
1473       - name: {{ include "common.fullname" . }}-fproxy-auth-config
1474         secret:
1475           secretName: {{ include "common.fullname" . }}-fproxy-auth-config
1476     {{- end }}
1477       restartPolicy: {{ .Values.restartPolicy }}
1478       imagePullSecrets:
1479       - name: "{{ include "common.namespace" . }}-docker-registry-key"