1 # Copyright (c) 2017 Amdocs, Bell Canada
2 # Modifications Copyright (c) 2018 AT&T
3 # Modifications Copyright (c) 2020 Nokia
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
20 name: {{ include "common.fullname" . }}
21 namespace: {{ include "common.namespace" . }}
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25 release: {{ include "common.release" . }}
26 heritage: {{ .Release.Service }}
28 replicas: {{ .Values.replicaCount }}
31 app: {{ include "common.name" . }}
35 app: {{ include "common.name" . }}
36 release: {{ include "common.release" . }}
37 name: {{ include "common.name" . }}
39 checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
40 msb.onap.org/service-info: '[
42 "serviceName": "_aai-cloudInfrastructure",
44 "url": "/aai/v11/cloud-infrastructure",
48 "lb_policy":"ip_hash",
50 "path": "/aai/v11/cloud-infrastructure"
53 "serviceName": "_aai-cloudInfrastructure",
55 "url": "/aai/v12/cloud-infrastructure",
59 "lb_policy":"ip_hash",
61 "path": "/aai/v12/cloud-infrastructure"
64 "serviceName": "_aai-cloudInfrastructure",
66 "url": "/aai/v13/cloud-infrastructure",
70 "lb_policy":"ip_hash",
72 "path": "/aai/v13/cloud-infrastructure"
75 "serviceName": "_aai-cloudInfrastructure",
77 "url": "/aai/v14/cloud-infrastructure",
81 "lb_policy":"ip_hash",
83 "path": "/aai/v14/cloud-infrastructure"
86 "serviceName": "_aai-cloudInfrastructure",
88 "url": "/aai/v15/cloud-infrastructure",
92 "lb_policy":"ip_hash",
94 "path": "/aai/v15/cloud-infrastructure"
97 "serviceName": "_aai-cloudInfrastructure",
99 "url": "/aai/v16/cloud-infrastructure",
103 "lb_policy":"ip_hash",
105 "path": "/aai/v16/cloud-infrastructure"
108 "serviceName": "_aai-cloudInfrastructure",
110 "url": "/aai/v17/cloud-infrastructure",
114 "lb_policy":"ip_hash",
116 "path": "/aai/v17/cloud-infrastructure"
119 "serviceName": "_aai-cloudInfrastructure",
121 "url": "/aai/v18/cloud-infrastructure",
125 "lb_policy":"ip_hash",
127 "path": "/aai/v18/cloud-infrastructure"
130 "serviceName": "_aai-cloudInfrastructure",
132 "url": "/aai/v19/cloud-infrastructure",
136 "lb_policy":"ip_hash",
138 "path": "/aai/v19/cloud-infrastructure"
141 "serviceName": "_aai-business",
143 "url": "/aai/v11/business",
147 "lb_policy":"ip_hash",
149 "path": "/aai/v11/business"
152 "serviceName": "_aai-business",
154 "url": "/aai/v12/business",
158 "lb_policy":"ip_hash",
160 "path": "/aai/v12/business"
163 "serviceName": "_aai-business",
165 "url": "/aai/v13/business",
169 "lb_policy":"ip_hash",
171 "path": "/aai/v13/business"
174 "serviceName": "_aai-business",
176 "url": "/aai/v14/business",
180 "lb_policy":"ip_hash",
182 "path": "/aai/v14/business"
185 "serviceName": "_aai-business",
187 "url": "/aai/v15/business",
191 "lb_policy":"ip_hash",
193 "path": "/aai/v15/business"
196 "serviceName": "_aai-business",
198 "url": "/aai/v16/business",
202 "lb_policy":"ip_hash",
204 "path": "/aai/v16/business"
207 "serviceName": "_aai-business",
209 "url": "/aai/v17/business",
213 "lb_policy":"ip_hash",
215 "path": "/aai/v17/business"
218 "serviceName": "_aai-business",
220 "url": "/aai/v18/business",
224 "lb_policy":"ip_hash",
226 "path": "/aai/v18/business"
229 "serviceName": "_aai-business",
231 "url": "/aai/v19/business",
235 "lb_policy":"ip_hash",
237 "path": "/aai/v19/business"
240 "serviceName": "_aai-actions",
242 "url": "/aai/v11/actions",
246 "lb_policy":"ip_hash",
248 "path": "/aai/v11/actions"
251 "serviceName": "_aai-actions",
253 "url": "/aai/v12/actions",
257 "lb_policy":"ip_hash",
259 "path": "/aai/v12/actions"
262 "serviceName": "_aai-actions",
264 "url": "/aai/v13/actions",
268 "lb_policy":"ip_hash",
270 "path": "/aai/v13/actions"
273 "serviceName": "_aai-actions",
275 "url": "/aai/v14/actions",
279 "lb_policy":"ip_hash",
281 "path": "/aai/v14/actions"
284 "serviceName": "_aai-actions",
286 "url": "/aai/v15/actions",
290 "lb_policy":"ip_hash",
292 "path": "/aai/v15/actions"
295 "serviceName": "_aai-actions",
297 "url": "/aai/v16/actions",
301 "lb_policy":"ip_hash",
303 "path": "/aai/v16/actions"
306 "serviceName": "_aai-actions",
308 "url": "/aai/v17/actions",
312 "lb_policy":"ip_hash",
314 "path": "/aai/v17/actions"
317 "serviceName": "_aai-actions",
319 "url": "/aai/v18/actions",
323 "lb_policy":"ip_hash",
325 "path": "/aai/v18/actions"
328 "serviceName": "_aai-actions",
330 "url": "/aai/v19/actions",
334 "lb_policy":"ip_hash",
336 "path": "/aai/v19/actions"
339 "serviceName": "_aai-service-design-and-creation",
341 "url": "/aai/v11/service-design-and-creation",
345 "lb_policy":"ip_hash",
347 "path": "/aai/v11/service-design-and-creation"
350 "serviceName": "_aai-service-design-and-creation",
352 "url": "/aai/v12/service-design-and-creation",
356 "lb_policy":"ip_hash",
358 "path": "/aai/v12/service-design-and-creation"
361 "serviceName": "_aai-service-design-and-creation",
363 "url": "/aai/v13/service-design-and-creation",
367 "lb_policy":"ip_hash",
369 "path": "/aai/v13/service-design-and-creation"
372 "serviceName": "_aai-service-design-and-creation",
374 "url": "/aai/v14/service-design-and-creation",
378 "lb_policy":"ip_hash",
380 "path": "/aai/v14/service-design-and-creation"
383 "serviceName": "_aai-service-design-and-creation",
385 "url": "/aai/v15/service-design-and-creation",
389 "lb_policy":"ip_hash",
391 "path": "/aai/v15/service-design-and-creation"
394 "serviceName": "_aai-service-design-and-creation",
396 "url": "/aai/v16/service-design-and-creation",
400 "lb_policy":"ip_hash",
402 "path": "/aai/v16/service-design-and-creation"
405 "serviceName": "_aai-service-design-and-creation",
407 "url": "/aai/v17/service-design-and-creation",
411 "lb_policy":"ip_hash",
413 "path": "/aai/v17/service-design-and-creation"
416 "serviceName": "_aai-service-design-and-creation",
418 "url": "/aai/v18/service-design-and-creation",
422 "lb_policy":"ip_hash",
424 "path": "/aai/v18/service-design-and-creation"
427 "serviceName": "_aai-service-design-and-creation",
429 "url": "/aai/v19/service-design-and-creation",
433 "lb_policy":"ip_hash",
435 "path": "/aai/v19/service-design-and-creation"
438 "serviceName": "_aai-network",
440 "url": "/aai/v11/network",
444 "lb_policy":"ip_hash",
446 "path": "/aai/v11/network"
449 "serviceName": "_aai-network",
451 "url": "/aai/v12/network",
455 "lb_policy":"ip_hash",
457 "path": "/aai/v12/network"
460 "serviceName": "_aai-network",
462 "url": "/aai/v13/network",
466 "lb_policy":"ip_hash",
468 "path": "/aai/v13/network"
471 "serviceName": "_aai-network",
473 "url": "/aai/v14/network",
477 "lb_policy":"ip_hash",
479 "path": "/aai/v14/network"
482 "serviceName": "_aai-network",
484 "url": "/aai/v15/network",
488 "lb_policy":"ip_hash",
490 "path": "/aai/v15/network"
493 "serviceName": "_aai-network",
495 "url": "/aai/v16/network",
499 "lb_policy":"ip_hash",
501 "path": "/aai/v16/network"
504 "serviceName": "_aai-network",
506 "url": "/aai/v17/network",
510 "lb_policy":"ip_hash",
512 "path": "/aai/v17/network"
515 "serviceName": "_aai-network",
517 "url": "/aai/v18/network",
521 "lb_policy":"ip_hash",
523 "path": "/aai/v18/network"
526 "serviceName": "_aai-network",
528 "url": "/aai/v19/network",
532 "lb_policy":"ip_hash",
534 "path": "/aai/v19/network"
537 "serviceName": "_aai-externalSystem",
539 "url": "/aai/v11/external-system",
543 "lb_policy":"ip_hash",
545 "path": "/aai/v11/external-system"
548 "serviceName": "_aai-externalSystem",
550 "url": "/aai/v12/external-system",
554 "lb_policy":"ip_hash",
556 "path": "/aai/v12/external-system"
559 "serviceName": "_aai-externalSystem",
561 "url": "/aai/v13/external-system",
565 "lb_policy":"ip_hash",
567 "path": "/aai/v13/external-system"
570 "serviceName": "_aai-externalSystem",
572 "url": "/aai/v14/external-system",
576 "lb_policy":"ip_hash",
578 "path": "/aai/v14/external-system"
581 "serviceName": "_aai-externalSystem",
583 "url": "/aai/v15/external-system",
587 "lb_policy":"ip_hash",
589 "path": "/aai/v15/external-system"
592 "serviceName": "_aai-externalSystem",
594 "url": "/aai/v16/external-system",
598 "lb_policy":"ip_hash",
600 "path": "/aai/v16/external-system"
603 "serviceName": "_aai-externalSystem",
605 "url": "/aai/v17/external-system",
609 "lb_policy":"ip_hash",
611 "path": "/aai/v17/external-system"
614 "serviceName": "_aai-externalSystem",
616 "url": "/aai/v18/external-system",
620 "lb_policy":"ip_hash",
622 "path": "/aai/v18/external-system"
625 "serviceName": "_aai-externalSystem",
627 "url": "/aai/v19/external-system",
631 "lb_policy":"ip_hash",
633 "path": "/aai/v19/external-system"
636 "serviceName": "aai-cloudInfrastructure",
638 "url": "/aai/v11/cloud-infrastructure",
642 "lb_policy":"ip_hash",
646 "serviceName": "aai-cloudInfrastructure",
648 "url": "/aai/v12/cloud-infrastructure",
652 "lb_policy":"ip_hash",
656 "serviceName": "aai-cloudInfrastructure",
658 "url": "/aai/v13/cloud-infrastructure",
662 "lb_policy":"ip_hash",
666 "serviceName": "aai-cloudInfrastructure",
668 "url": "/aai/v14/cloud-infrastructure",
672 "lb_policy":"ip_hash",
676 "serviceName": "aai-cloudInfrastructure",
678 "url": "/aai/v15/cloud-infrastructure",
682 "lb_policy":"ip_hash",
686 "serviceName": "aai-cloudInfrastructure",
688 "url": "/aai/v16/cloud-infrastructure",
692 "lb_policy":"ip_hash",
696 "serviceName": "aai-cloudInfrastructure",
698 "url": "/aai/v17/cloud-infrastructure",
702 "lb_policy":"ip_hash",
706 "serviceName": "aai-cloudInfrastructure",
708 "url": "/aai/v18/cloud-infrastructure",
712 "lb_policy":"ip_hash",
716 "serviceName": "aai-cloudInfrastructure",
718 "url": "/aai/v19/cloud-infrastructure",
722 "lb_policy":"ip_hash",
726 "serviceName": "aai-business",
728 "url": "/aai/v11/business",
732 "lb_policy":"ip_hash",
736 "serviceName": "aai-business",
738 "url": "/aai/v12/business",
742 "lb_policy":"ip_hash",
746 "serviceName": "aai-business",
748 "url": "/aai/v13/business",
752 "lb_policy":"ip_hash",
756 "serviceName": "aai-business",
758 "url": "/aai/v14/business",
762 "lb_policy":"ip_hash",
766 "serviceName": "aai-business",
768 "url": "/aai/v15/business",
772 "lb_policy":"ip_hash",
776 "serviceName": "aai-business",
778 "url": "/aai/v16/business",
782 "lb_policy":"ip_hash",
786 "serviceName": "aai-business",
788 "url": "/aai/v17/business",
792 "lb_policy":"ip_hash",
796 "serviceName": "aai-business",
798 "url": "/aai/v18/business",
802 "lb_policy":"ip_hash",
806 "serviceName": "aai-business",
808 "url": "/aai/v19/business",
812 "lb_policy":"ip_hash",
816 "serviceName": "aai-actions",
818 "url": "/aai/v11/actions",
822 "lb_policy":"ip_hash",
826 "serviceName": "aai-actions",
828 "url": "/aai/v12/actions",
832 "lb_policy":"ip_hash",
836 "serviceName": "aai-actions",
838 "url": "/aai/v13/actions",
842 "lb_policy":"ip_hash",
846 "serviceName": "aai-actions",
848 "url": "/aai/v14/actions",
852 "lb_policy":"ip_hash",
856 "serviceName": "aai-actions",
858 "url": "/aai/v15/actions",
862 "lb_policy":"ip_hash",
866 "serviceName": "aai-actions",
868 "url": "/aai/v16/actions",
872 "lb_policy":"ip_hash",
876 "serviceName": "aai-actions",
878 "url": "/aai/v17/actions",
882 "lb_policy":"ip_hash",
886 "serviceName": "aai-actions",
888 "url": "/aai/v18/actions",
892 "lb_policy":"ip_hash",
896 "serviceName": "aai-actions",
898 "url": "/aai/v19/actions",
902 "lb_policy":"ip_hash",
906 "serviceName": "aai-service-design-and-creation",
908 "url": "/aai/v11/service-design-and-creation",
912 "lb_policy":"ip_hash",
916 "serviceName": "aai-service-design-and-creation",
918 "url": "/aai/v12/service-design-and-creation",
922 "lb_policy":"ip_hash",
926 "serviceName": "aai-service-design-and-creation",
928 "url": "/aai/v13/service-design-and-creation",
932 "lb_policy":"ip_hash",
936 "serviceName": "aai-service-design-and-creation",
938 "url": "/aai/v14/service-design-and-creation",
942 "lb_policy":"ip_hash",
946 "serviceName": "aai-service-design-and-creation",
948 "url": "/aai/v15/service-design-and-creation",
952 "lb_policy":"ip_hash",
956 "serviceName": "aai-service-design-and-creation",
958 "url": "/aai/v16/service-design-and-creation",
962 "lb_policy":"ip_hash",
966 "serviceName": "aai-service-design-and-creation",
968 "url": "/aai/v17/service-design-and-creation",
972 "lb_policy":"ip_hash",
976 "serviceName": "aai-service-design-and-creation",
978 "url": "/aai/v18/service-design-and-creation",
982 "lb_policy":"ip_hash",
986 "serviceName": "aai-service-design-and-creation",
988 "url": "/aai/v19/service-design-and-creation",
992 "lb_policy":"ip_hash",
996 "serviceName": "aai-network",
998 "url": "/aai/v11/network",
1002 "lb_policy":"ip_hash",
1006 "serviceName": "aai-network",
1008 "url": "/aai/v12/network",
1012 "lb_policy":"ip_hash",
1016 "serviceName": "aai-network",
1018 "url": "/aai/v13/network",
1022 "lb_policy":"ip_hash",
1026 "serviceName": "aai-network",
1028 "url": "/aai/v14/network",
1032 "lb_policy":"ip_hash",
1036 "serviceName": "aai-network",
1038 "url": "/aai/v15/network",
1042 "lb_policy":"ip_hash",
1046 "serviceName": "aai-network",
1048 "url": "/aai/v16/network",
1052 "lb_policy":"ip_hash",
1056 "serviceName": "aai-network",
1058 "url": "/aai/v17/network",
1062 "lb_policy":"ip_hash",
1066 "serviceName": "aai-network",
1068 "url": "/aai/v18/network",
1072 "lb_policy":"ip_hash",
1076 "serviceName": "aai-network",
1078 "url": "/aai/v19/network",
1082 "lb_policy":"ip_hash",
1086 "serviceName": "aai-externalSystem",
1088 "url": "/aai/v11/external-system",
1092 "lb_policy":"ip_hash",
1096 "serviceName": "aai-externalSystem",
1098 "url": "/aai/v12/external-system",
1102 "lb_policy":"ip_hash",
1106 "serviceName": "aai-externalSystem",
1108 "url": "/aai/v13/external-system",
1112 "lb_policy":"ip_hash",
1116 "serviceName": "aai-externalSystem",
1118 "url": "/aai/v14/external-system",
1122 "lb_policy":"ip_hash",
1126 "serviceName": "aai-externalSystem",
1128 "url": "/aai/v15/external-system",
1132 "lb_policy":"ip_hash",
1136 "serviceName": "aai-externalSystem",
1138 "url": "/aai/v16/external-system",
1142 "lb_policy":"ip_hash",
1146 "serviceName": "aai-externalSystem",
1148 "url": "/aai/v17/external-system",
1152 "lb_policy":"ip_hash",
1156 "serviceName": "aai-externalSystem",
1158 "url": "/aai/v18/external-system",
1162 "lb_policy":"ip_hash",
1166 "serviceName": "aai-externalSystem",
1168 "url": "/aai/v19/external-system",
1172 "lb_policy":"ip_hash",
1177 hostname: aai-resources
1178 {{ if .Values.global.initContainers.enabled }}
1179 {{ if .Values.global.installSidecarSecurity }}
1181 - ip: {{ .Values.global.aaf.serverIp }}
1183 - {{ .Values.global.aaf.serverHostname }}
1187 {{ if .Values.global.jobs.migration.enabled }}
1191 - {{ include "common.release" . }}-aai-graphadmin-migration
1192 {{ else if .Values.global.jobs.createSchema.enabled }}
1196 - {{ include "common.release" . }}-aai-graphadmin-create-db-schema
1201 {{- if .Values.global.cassandra.localCluster }}
1207 - aai-schema-service
1214 fieldPath: metadata.namespace
1215 image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
1216 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1217 name: {{ include "common.name" . }}-readiness
1218 {{ if .Values.global.installSidecarSecurity }}
1219 - name: {{ .Values.global.tproxyConfig.name }}
1220 image: "{{ include "common.repository" . }}/{{ .Values.global.tproxyConfig.image }}"
1221 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1227 - name: {{ include "common.name" . }}
1228 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
1229 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1231 - name: LOCAL_USER_ID
1232 value: {{ .Values.global.config.userId | quote }}
1233 - name: LOCAL_GROUP_ID
1234 value: {{ .Values.global.config.groupId | quote }}
1236 - mountPath: /etc/localtime
1239 - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties
1240 name: {{ include "common.fullname" . }}-config
1241 subPath: janusgraph-realtime.properties
1242 - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties
1243 name: {{ include "common.fullname" . }}-config
1244 subPath: janusgraph-cached.properties
1245 - mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
1246 name: {{ include "common.fullname" . }}-config
1247 subPath: aaiconfig.properties
1248 - mountPath: /opt/aai/logroot/AAI-RES
1249 name: {{ include "common.fullname" . }}-logs
1250 - mountPath: /opt/app/aai-resources/resources/logback.xml
1251 name: {{ include "common.fullname" . }}-config
1252 subPath: logback.xml
1253 - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml
1254 name: {{ include "common.fullname" . }}-config
1255 subPath: localhost-access-logback.xml
1256 - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties
1257 name: {{ include "common.fullname" . }}-config
1258 subPath: realm.properties
1259 {{ if .Values.global.installSidecarSecurity }}
1260 - mountPath: /opt/app/aai-resources/resources/etc/auth/aai_policy.json
1261 name: {{ include "common.fullname" . }}-aai-policy
1262 subPath: aai_policy.json
1264 - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile
1265 name: {{ include "common.fullname" . }}-aaf-certs
1266 subPath: org.onap.aai.keyfile
1267 - mountPath: /opt/app/aai-resources/resources/aaf/bath_config.csv
1268 name: {{ include "common.fullname" . }}-aaf-certs
1269 subPath: bath_config.csv
1270 - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.props
1271 name: {{ include "common.fullname" . }}-aaf-properties
1272 subPath: org.onap.aai.props
1273 - mountPath: /opt/app/aai-resources/resources/aaf/org.osaaf.location.props
1274 name: {{ include "common.fullname" . }}-aaf-properties
1275 subPath: org.osaaf.location.props
1276 - mountPath: /opt/app/aai-resources/resources/aaf/permissions.properties
1277 name: {{ include "common.fullname" . }}-aaf-properties
1278 subPath: permissions.properties
1279 - mountPath: /opt/app/aai-resources/resources/cadi.properties
1280 name: {{ include "common.fullname" . }}-aaf-properties
1281 subPath: cadi.properties
1282 - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.p12
1283 name: {{ include "common.fullname" . }}-aaf-certs
1284 subPath: org.onap.aai.p12
1285 - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks
1286 name: aai-common-aai-auth-mount
1287 subPath: truststoreONAPall.jks
1288 - mountPath: /opt/app/aai-resources/resources/application.properties
1289 name: {{ include "common.fullname" . }}-config
1290 subPath: application.properties
1291 - mountPath: /opt/app/aai-resources/resources/application-keycloak.properties
1292 name: {{ include "common.fullname" . }}-config
1293 subPath: application-keycloak.properties
1295 {{ range $job := .Values.global.config.auth.files }}
1296 - mountPath: /opt/app/aai-resources/resources/etc/auth/{{ . }}
1297 name: {{ include "common.fullname" $global }}-auth-truststore-sec
1301 - containerPort: {{ .Values.service.internalPort }}
1302 - containerPort: {{ .Values.service.internalPort2 }}
1303 # disable liveness probe when breakpoints set in debugger
1304 # so K8s doesn't restart unresponsive container
1305 {{ if .Values.liveness.enabled }}
1308 port: {{ .Values.service.internalPort }}
1309 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
1310 periodSeconds: {{ .Values.liveness.periodSeconds }}
1314 port: {{ .Values.service.internalPort }}
1315 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
1316 periodSeconds: {{ .Values.readiness.periodSeconds }}
1318 {{ include "common.resources" . }}
1319 {{- if .Values.nodeSelector }}
1321 {{ toYaml .Values.nodeSelector | indent 8 }}
1323 {{- if .Values.affinity }}
1325 {{ toYaml .Values.affinity | indent 8 }}
1328 # side car containers
1329 - name: filebeat-onap
1330 image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
1331 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1333 - mountPath: /usr/share/filebeat/filebeat.yml
1334 subPath: filebeat.yml
1336 - mountPath: /var/log/onap
1337 name: {{ include "common.fullname" . }}-logs
1338 - mountPath: /usr/share/filebeat/data
1339 name: {{ include "common.fullname" . }}-filebeat
1341 {{ include "common.resources" . }}
1342 {{ if .Values.global.installSidecarSecurity }}
1343 - name: {{ .Values.global.rproxy.name }}
1344 image: "{{ include "common.repository" . }}/{{ .Values.global.rproxy.image }}"
1345 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1348 value: "/opt/app/rproxy/config"
1349 - name: KEY_STORE_PASSWORD
1350 value: {{ .Values.sidecar.keyStorePassword }}
1351 - name: spring_profiles_active
1352 value: {{ .Values.global.rproxy.activeSpringProfiles }}
1354 - name: {{ include "common.fullname" . }}-rproxy-config
1355 mountPath: /opt/app/rproxy/config/forward-proxy.properties
1356 subPath: forward-proxy.properties
1357 - name: {{ include "common.fullname" . }}-rproxy-config
1358 mountPath: /opt/app/rproxy/config/primary-service.properties
1359 subPath: primary-service.properties
1360 - name: {{ include "common.fullname" . }}-rproxy-config
1361 mountPath: /opt/app/rproxy/config/reverse-proxy.properties
1362 subPath: reverse-proxy.properties
1363 - name: {{ include "common.fullname" . }}-rproxy-config
1364 mountPath: /opt/app/rproxy/config/cadi.properties
1365 subPath: cadi.properties
1366 - name: {{ include "common.fullname" . }}-rproxy-log-config
1367 mountPath: /opt/app/rproxy/config/logback-spring.xml
1368 subPath: logback-spring.xml
1369 - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1370 mountPath: /opt/app/rproxy/config/auth/uri-authorization.json
1371 subPath: uri-authorization.json
1372 - name: {{ include "common.fullname" . }}-rproxy-auth-config
1373 mountPath: /opt/app/rproxy/config/auth/tomcat_keystore
1374 subPath: tomcat_keystore
1375 - name: {{ include "common.fullname" . }}-rproxy-auth-config
1376 mountPath: /opt/app/rproxy/config/auth/client-cert.p12
1377 subPath: client-cert.p12
1378 - name: {{ include "common.fullname" . }}-rproxy-auth-config
1379 mountPath: /opt/app/rproxy/config/auth/aaf_truststore.jks
1380 subPath: aaf_truststore.jks
1381 - name: {{ include "common.fullname" . }}-rproxy-security-config
1382 mountPath: /opt/app/rproxy/config/security/keyfile
1384 - name: {{ include "common.fullname" . }}-rproxy-auth-config
1385 mountPath: /opt/app/rproxy/config/auth/org.onap.aai.p12
1386 subPath: org.onap.aai.p12
1388 - containerPort: {{ .Values.global.rproxy.port }}
1390 - name: {{ .Values.global.fproxy.name }}
1391 image: "{{ include "common.repository" . }}/{{ .Values.global.fproxy.image }}"
1392 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
1395 value: "/opt/app/fproxy/config"
1396 - name: KEY_STORE_PASSWORD
1397 value: {{ .Values.sidecar.keyStorePassword }}
1398 - name: TRUST_STORE_PASSWORD
1399 value: {{ .Values.sidecar.trustStorePassword }}
1400 - name: spring_profiles_active
1401 value: {{ .Values.global.fproxy.activeSpringProfiles }}
1403 - name: {{ include "common.fullname" . }}-fproxy-config
1404 mountPath: /opt/app/fproxy/config/fproxy.properties
1405 subPath: fproxy.properties
1406 - name: {{ include "common.fullname" . }}-fproxy-log-config
1407 mountPath: /opt/app/fproxy/config/logback-spring.xml
1408 subPath: logback-spring.xml
1409 - name: {{ include "common.fullname" . }}-fproxy-auth-config
1410 mountPath: /opt/app/fproxy/config/auth/fproxy_truststore
1411 subPath: fproxy_truststore
1412 - name: {{ include "common.fullname" . }}-fproxy-auth-config
1413 mountPath: /opt/app/fproxy/config/auth/tomcat_keystore
1414 subPath: tomcat_keystore
1415 - name: {{ include "common.fullname" . }}-fproxy-auth-config
1416 mountPath: /opt/app/fproxy/config/auth/client-cert.p12
1417 subPath: client-cert.p12
1419 - containerPort: {{ .Values.global.fproxy.port }}
1423 - name: aai-common-aai-auth-mount
1425 secretName: aai-common-aai-auth
1428 path: /etc/localtime
1429 - name: filebeat-conf
1432 - name: {{ include "common.fullname" . }}-logs
1434 - name: {{ include "common.fullname" . }}-filebeat
1436 - name: {{ include "common.fullname" . }}-config
1438 name: {{ include "common.fullname" . }}-configmap
1439 - name: {{ include "common.fullname" . }}-aaf-properties
1441 name: {{ include "common.fullname" . }}-aaf-props
1442 - name: {{ include "common.fullname" . }}-aaf-certs
1444 secretName: {{ include "common.fullname" . }}-aaf-keys
1445 - name: {{ include "common.fullname" . }}-auth-truststore-sec
1447 secretName: aai-common-truststore
1449 {{ range $job := .Values.global.config.auth.files }}
1453 {{ if .Values.global.installSidecarSecurity }}
1454 - name: {{ include "common.fullname" . }}-aai-policy
1456 name: {{ include "common.fullname" . }}-aai-policy-configmap
1457 - name: {{ include "common.fullname" . }}-rproxy-config
1459 name: {{ include "common.fullname" . }}-rproxy-config
1460 - name: {{ include "common.fullname" . }}-rproxy-log-config
1462 name: {{ include "common.fullname" . }}-rproxy-log-config
1463 - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1465 name: {{ include "common.fullname" . }}-rproxy-uri-auth-config
1466 - name: {{ include "common.fullname" . }}-rproxy-auth-config
1468 secretName: {{ include "common.fullname" . }}-rproxy-auth-config
1469 - name: {{ include "common.fullname" . }}-rproxy-security-config
1471 secretName: {{ include "common.fullname" . }}-rproxy-security-config
1472 - name: {{ include "common.fullname" . }}-fproxy-config
1474 name: {{ include "common.fullname" . }}-fproxy-config
1475 - name: {{ include "common.fullname" . }}-fproxy-log-config
1477 name: {{ include "common.fullname" . }}-fproxy-log-config
1478 - name: {{ include "common.fullname" . }}-fproxy-auth-config
1480 secretName: {{ include "common.fullname" . }}-fproxy-auth-config
1482 restartPolicy: {{ .Values.restartPolicy }}
1484 - name: "{{ include "common.namespace" . }}-docker-registry-key"