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