Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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" . }}:8080
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   port: {{ index .Values.containerPort }}
35   ssl:
36     enabled: false
37 mso:
38   key: {{ .Values.mso.key }}
39   site-name: localSite
40   logPath: ./logs/etsi-sol003-adapter
41   config:
42     cadi: {{ include "so.cadi.keys" . | nindent 8}}
43   msb-ip: msb-iag
44   msb-port: 80
45 sdc:
46   username: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.username "value2" .Values.sdc.username )}}
47   password: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.password "value2" .Values.sdc.password )}}
48   key: {{ .Values.sdc.key }}
49   {{ if (include "common.needTLS" .) }}
50   endpoint: https://sdc-be.{{ include "common.namespace" . }}:8443
51   {{ else }}
52   endpoint: http://sdc-be.{{ include "common.namespace" . }}:8080
53   {{ end }}
54 vnfmadapter:
55   endpoint: http://so-etsi-sol003-adapter.{{ include "common.namespace" . }}:9092
56 etsi-catalog-manager:
57   vnfpkgm:
58   {{- if .Values.global.msbEnabled }}
59     endpoint: https://msb-iag:443/api/vnfpkgm/v1
60   http:
61     client:
62       ssl:
63         trust-store: file:${TRUSTSTORE}
64         trust-store-password: ${TRUSTSTORE_PASSWORD}
65   {{- else }}
66     endpoint: http://modeling-etsicatalog.{{ include "common.namespace" . }}:8806/api/vnfpkgm/v1
67   {{- end }}