Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-etsi-nfvo-ns-lcm / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2020 Nordix Foundation
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
17 aai:
18   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.aai.auth )}}
19   version: v19
20   {{ if (include "common.needTLS" .) }}
21   endpoint: https://aai.{{ include "common.namespace" . }}:8443
22   {{ else }}
23   endpoint: http://aai.{{ include "common.namespace" . }}:80
24   {{ end }}
25 spring:
26   datasource:
27     hikari:
28       camunda:
29         jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/camundabpmn
30         username: ${DB_USERNAME}
31         password: ${DB_PASSWORD}
32         driver-class-name: org.mariadb.jdbc.Driver
33         pool-name: bpmn-pool
34         registerMbeans: true
35       nfvo:
36         jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/nfvo
37         username: ${DB_ADMIN_USERNAME}
38         password: ${DB_ADMIN_PASSWORD}
39         driver-class-name: org.mariadb.jdbc.Driver
40         pool-name: nfvo-pool
41         registerMbeans: true
42   security:
43     usercredentials:
44     - username: ${ETSI_NFVO_USERNAME}
45       password: ${ETSI_NFVO_PASSWORD}
46       role: ETSI-NFVO-Client
47 server:
48   {{- if include "common.onServiceMesh" . }}
49   forward-headers-strategy: none
50   {{- end }}
51   port: {{ .Values.containerPort }}
52   tomcat:
53     max-threads: 50
54 mso:
55   key: {{ .Values.mso.key }}
56 so:
57   adapters:
58     sol003-adapter:
59       url: http://so-etsi-sol003-adapter.{{ include "common.namespace" . }}:9092/so/vnfm-adapter/v1
60       auth: {{ .Values.so.sol003.adapter.auth }}
61 etsi-catalog-manager:
62   base:
63   {{- if .Values.global.msbEnabled }}
64     {{ if (include "common.needTLS" .) }}
65     endpoint: https://msb-iag:443/api
66     {{ else }}
67     endpoint: http://msb-iag:443/api
68     {{ end }}
69   http:
70     client:
71       ssl:
72         trust-store: file:${TRUSTSTORE}
73         trust-store-password: ${TRUSTSTORE_PASSWORD}
74   {{- else }}
75     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api
76   {{- end }}
77 camunda:
78   bpm:
79     history-level: full
80     job-execution:
81       max-pool-size: 30
82       core-pool-size: 3
83       deployment-aware: true