Merge "[COMMON] Fix Ingress templating"
[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         - name: POST_JAVA_OPTS
1238           value: '-Djavax.net.ssl.trustStore=/opt/app/aai-resources/resources/aaf/truststoreONAPall.jks -Djavax.net.ssl.trustStorePassword=changeit'
1239         volumeMounts:
1240         - mountPath: /etc/localtime
1241           name: localtime
1242           readOnly: true
1243         - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties
1244           name: {{ include "common.fullname" . }}-config
1245           subPath: janusgraph-realtime.properties
1246         - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties
1247           name: {{ include "common.fullname" . }}-config
1248           subPath: janusgraph-cached.properties
1249         - mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
1250           name: {{ include "common.fullname" . }}-config
1251           subPath: aaiconfig.properties
1252         - mountPath: /opt/aai/logroot/AAI-RES
1253           name: {{ include "common.fullname" . }}-logs
1254         - mountPath: /opt/app/aai-resources/resources/logback.xml
1255           name: {{ include "common.fullname" . }}-config
1256           subPath: logback.xml
1257         - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml
1258           name: {{ include "common.fullname" . }}-config
1259           subPath: localhost-access-logback.xml
1260         - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties
1261           name: {{ include "common.fullname" . }}-config
1262           subPath: realm.properties
1263         {{- if .Values.global.installSidecarSecurity }}
1264         - mountPath: /opt/app/aai-resources/resources/etc/auth/aai_policy.json
1265           name: {{ include "common.fullname" . }}-aai-policy
1266           subPath: aai_policy.json
1267         {{- end }}
1268         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile
1269           name: {{ include "common.fullname" . }}-aaf-certs
1270           subPath: org.onap.aai.keyfile
1271         - mountPath: /opt/app/aai-resources/resources/aaf/bath_config.csv
1272           name: {{ include "common.fullname" . }}-aaf-certs
1273           subPath: bath_config.csv
1274         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.props
1275           name: {{ include "common.fullname" . }}-aaf-properties
1276           subPath: org.onap.aai.props
1277         - mountPath: /opt/app/aai-resources/resources/aaf/org.osaaf.location.props
1278           name: {{ include "common.fullname" . }}-aaf-properties
1279           subPath: org.osaaf.location.props
1280         - mountPath: /opt/app/aai-resources/resources/aaf/permissions.properties
1281           name: {{ include "common.fullname" . }}-aaf-properties
1282           subPath: permissions.properties
1283         - mountPath: /opt/app/aai-resources/resources/cadi.properties
1284           name: {{ include "common.fullname" . }}-aaf-properties
1285           subPath: cadi.properties
1286         - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.p12
1287           name: {{ include "common.fullname" . }}-aaf-certs
1288           subPath: org.onap.aai.p12
1289         - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks
1290           name: aai-common-aai-auth-mount
1291           subPath: truststoreONAPall.jks
1292         - mountPath: /opt/app/aai-resources/resources/application.properties
1293           name: {{ include "common.fullname" . }}-config
1294           subPath: application.properties
1295         - mountPath: /opt/app/aai-resources/resources/application-keycloak.properties
1296           name: {{ include "common.fullname" . }}-config
1297           subPath: application-keycloak.properties
1298           {{- $global := . }}
1299           {{- range $job := .Values.global.config.auth.files }}
1300         - mountPath: /opt/app/aai-resources/resources/etc/auth/{{ . }}
1301           name: {{ include "common.fullname" $global }}-auth-truststore-sec
1302           subPath: {{ . }}
1303           {{- end }}
1304         ports:
1305         - containerPort: {{ .Values.service.internalPort }}
1306         - containerPort: {{ .Values.service.internalPort2 }}
1307         # disable liveness probe when breakpoints set in debugger
1308         # so K8s doesn't restart unresponsive container
1309         {{- if .Values.liveness.enabled }}
1310         livenessProbe:
1311           tcpSocket:
1312             port: {{ .Values.service.internalPort }}
1313           initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
1314           periodSeconds: {{ .Values.liveness.periodSeconds }}
1315         {{- end }}
1316         readinessProbe:
1317           tcpSocket:
1318             port: {{ .Values.service.internalPort }}
1319           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
1320           periodSeconds: {{ .Values.readiness.periodSeconds }}
1321         resources: {{ include "common.resources" . | nindent 12 }}
1322       {{- if .Values.nodeSelector }}
1323       nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
1324       {{- end }}
1325       {{- if .Values.affinity }}
1326       affinity: {{ toYaml .Values.affinity | nindent 8 }}
1327       {{- end }}
1328       # side car containers
1329       - name: filebeat-onap
1330         image: {{ include "repositoryGenerator.image.logging" . }}
1331         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1332         volumeMounts:
1333         - mountPath: /usr/share/filebeat/filebeat.yml
1334           subPath: filebeat.yml
1335           name: filebeat-conf
1336         - mountPath: /var/log/onap
1337           name: {{ include "common.fullname" . }}-logs
1338         - mountPath: /usr/share/filebeat/data
1339           name: {{ include "common.fullname" . }}-filebeat
1340         resources: {{ include "common.resources" . | nindent 12 }}
1341     {{- if .Values.global.installSidecarSecurity }}
1342       - name: {{ .Values.global.rproxy.name }}
1343         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.rproxy.image }}
1344         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1345         env:
1346         - name: CONFIG_HOME
1347           value: "/opt/app/rproxy/config"
1348         - name: KEY_STORE_PASSWORD
1349           value: {{ .Values.sidecar.keyStorePassword }}
1350         - name: spring_profiles_active
1351           value: {{ .Values.global.rproxy.activeSpringProfiles }}
1352         volumeMounts:
1353         - name: {{ include "common.fullname" . }}-rproxy-config
1354           mountPath: /opt/app/rproxy/config/forward-proxy.properties
1355           subPath: forward-proxy.properties
1356         - name: {{ include "common.fullname" . }}-rproxy-config
1357           mountPath: /opt/app/rproxy/config/primary-service.properties
1358           subPath: primary-service.properties
1359         - name: {{ include "common.fullname" . }}-rproxy-config
1360           mountPath: /opt/app/rproxy/config/reverse-proxy.properties
1361           subPath: reverse-proxy.properties
1362         - name: {{ include "common.fullname" . }}-rproxy-config
1363           mountPath: /opt/app/rproxy/config/cadi.properties
1364           subPath: cadi.properties
1365         - name: {{ include "common.fullname" . }}-rproxy-log-config
1366           mountPath: /opt/app/rproxy/config/logback-spring.xml
1367           subPath: logback-spring.xml
1368         - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1369           mountPath: /opt/app/rproxy/config/auth/uri-authorization.json
1370           subPath: uri-authorization.json
1371         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1372           mountPath: /opt/app/rproxy/config/auth/tomcat_keystore
1373           subPath: tomcat_keystore
1374         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1375           mountPath: /opt/app/rproxy/config/auth/client-cert.p12
1376           subPath: client-cert.p12
1377         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1378           mountPath: /opt/app/rproxy/config/auth/aaf_truststore.jks
1379           subPath: aaf_truststore.jks
1380         - name: {{ include "common.fullname" . }}-rproxy-security-config
1381           mountPath: /opt/app/rproxy/config/security/keyfile
1382           subPath: keyfile
1383         - name: {{ include "common.fullname" . }}-rproxy-auth-config
1384           mountPath: /opt/app/rproxy/config/auth/org.onap.aai.p12
1385           subPath: org.onap.aai.p12
1386         ports:
1387         - containerPort: {{ .Values.global.rproxy.port }}
1388       - name: {{ .Values.global.fproxy.name }}
1389         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.fproxy.image }}
1390         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1391         env:
1392         - name: CONFIG_HOME
1393           value: "/opt/app/fproxy/config"
1394         - name: KEY_STORE_PASSWORD
1395           value: {{ .Values.sidecar.keyStorePassword }}
1396         - name: TRUST_STORE_PASSWORD
1397           value: {{ .Values.sidecar.trustStorePassword }}
1398         - name: spring_profiles_active
1399           value: {{ .Values.global.fproxy.activeSpringProfiles }}
1400         volumeMounts:
1401         - name: {{ include "common.fullname" . }}-fproxy-config
1402           mountPath: /opt/app/fproxy/config/fproxy.properties
1403           subPath: fproxy.properties
1404         - name: {{ include "common.fullname" . }}-fproxy-log-config
1405           mountPath: /opt/app/fproxy/config/logback-spring.xml
1406           subPath: logback-spring.xml
1407         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1408           mountPath: /opt/app/fproxy/config/auth/fproxy_truststore
1409           subPath: fproxy_truststore
1410         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1411           mountPath: /opt/app/fproxy/config/auth/tomcat_keystore
1412           subPath: tomcat_keystore
1413         - name: {{ include "common.fullname" . }}-fproxy-auth-config
1414           mountPath: /opt/app/fproxy/config/auth/client-cert.p12
1415           subPath: client-cert.p12
1416         ports:
1417         - containerPort: {{ .Values.global.fproxy.port }}
1418     {{- end }}
1419       volumes:
1420       - name: aai-common-aai-auth-mount
1421         secret:
1422           secretName: aai-common-aai-auth
1423       - name: localtime
1424         hostPath:
1425           path: /etc/localtime
1426       - name: filebeat-conf
1427         configMap:
1428           name: aai-filebeat
1429       - name: {{ include "common.fullname" . }}-logs
1430         emptyDir: {}
1431       - name: {{ include "common.fullname" . }}-filebeat
1432         emptyDir: {}
1433       - name: {{ include "common.fullname" . }}-config
1434         configMap:
1435           name: {{ include "common.fullname" . }}-configmap
1436       - name: {{ include "common.fullname" . }}-aaf-properties
1437         configMap:
1438           name: {{ include "common.fullname" . }}-aaf-props
1439       - name: {{ include "common.fullname" . }}-aaf-certs
1440         secret:
1441           secretName: {{ include "common.fullname" . }}-aaf-keys
1442       - name: {{ include "common.fullname" . }}-auth-truststore-sec
1443         secret:
1444           secretName: aai-common-truststore
1445           items:
1446           {{- range $job := .Values.global.config.auth.files }}
1447           - key: {{ . }}
1448             path: {{ . }}
1449           {{- end }}
1450     {{- if .Values.global.installSidecarSecurity }}
1451       - name: {{ include "common.fullname" . }}-aai-policy
1452         configMap:
1453           name: {{ include "common.fullname" . }}-aai-policy-configmap
1454       - name: {{ include "common.fullname" . }}-rproxy-config
1455         configMap:
1456           name: {{ include "common.fullname" . }}-rproxy-config
1457       - name: {{ include "common.fullname" . }}-rproxy-log-config
1458         configMap:
1459           name: {{ include "common.fullname" . }}-rproxy-log-config
1460       - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1461         configMap:
1462           name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1463       - name: {{ include "common.fullname" . }}-rproxy-auth-config
1464         secret:
1465           secretName: {{ include "common.fullname" . }}-rproxy-auth-config
1466       - name: {{ include "common.fullname" . }}-rproxy-security-config
1467         secret:
1468           secretName: {{ include "common.fullname" . }}-rproxy-security-config
1469       - name: {{ include "common.fullname" . }}-fproxy-config
1470         configMap:
1471           name: {{ include "common.fullname" . }}-fproxy-config
1472       - name: {{ include "common.fullname" . }}-fproxy-log-config
1473         configMap:
1474           name: {{ include "common.fullname" . }}-fproxy-log-config
1475       - name: {{ include "common.fullname" . }}-fproxy-auth-config
1476         secret:
1477           secretName: {{ include "common.fullname" . }}-fproxy-auth-config
1478     {{- end }}
1479       restartPolicy: {{ .Values.restartPolicy }}
1480       imagePullSecrets:
1481       - name: "{{ include "common.namespace" . }}-docker-registry-key"