Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-etsi-sol003-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2019 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 aai:
17   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.aai.auth )}}
18   version: v15
19   {{ if (include "common.needTLS" .) }}
20   endpoint: https://aai.{{ include "common.namespace" . }}:8443
21   {{ else }}
22   endpoint: http://aai.{{ include "common.namespace" . }}:80
23   {{ end }}
24 spring:
25   security:
26     usercredentials:
27     - username: vnfm
28       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
29       role: BPEL-Client
30     - username: mso_admin
31       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
32       role: ACTUATOR
33 server:
34   {{- if include "common.onServiceMesh" . }}
35   forward-headers-strategy: none
36   {{- end }}
37   port: {{ index .Values.containerPort }}
38   ssl:
39     enabled: false
40 mso:
41   key: {{ .Values.mso.key }}
42   site-name: localSite
43   logPath: ./logs/etsi-sol003-adapter
44   config:
45     cadi: {{ include "so.cadi.keys" . | nindent 8}}
46   msb-ip: msb-iag
47   msb-port: 80
48 sdc:
49   username: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.username "value2" .Values.sdc.username )}}
50   password: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.password "value2" .Values.sdc.password )}}
51   key: {{ .Values.sdc.key }}
52   {{ if (include "common.needTLS" .) }}
53   endpoint: https://sdc-be.{{ include "common.namespace" . }}:8443
54   {{ else }}
55   endpoint: http://sdc-be.{{ include "common.namespace" . }}:8080
56   {{ end }}
57 vnfmadapter:
58   endpoint: http://so-etsi-sol003-adapter.{{ include "common.namespace" . }}:9092
59 etsi-catalog-manager:
60   vnfpkgm:
61   {{- if .Values.global.msbEnabled }}
62     endpoint: https://msb-iag:443/api/vnfpkgm/v1
63   http:
64     client:
65       ssl:
66         trust-store: file:${TRUSTSTORE}
67         trust-store-password: ${TRUSTSTORE_PASSWORD}
68   {{- else }}
69     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api/vnfpkgm/v1
70   {{- end }}