[SO] Remove so-secret component
[oom.git] / kubernetes / so / components / so-vnfm-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   endpoint: https://aai.{{ include "common.namespace" . }}:8443
20 spring:
21   security:
22     usercredentials:
23     - username: vnfm
24       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
25       role: BPEL-Client
26     - username: mso_admin
27       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
28       role: ACTUATOR
29 server:
30   port: {{ index .Values.containerPort }}
31   ssl:
32     key-alias: so@so.onap.org
33     key-store-password: ${KEYSTORE_PASSWORD}
34     key-store: file:${KEYSTORE}
35     key-store-type: PKCS12
36 http:
37   client:
38     ssl:
39       trust-store: file:${TRUSTSTORE}
40       trust-store-password: ${TRUSTSTORE_PASSWORD}
41 mso:
42   key: {{ .Values.mso.key }}
43   site-name: localSite
44   logPath: ./logs/vnfm-adapter
45   config:
46     cadi: {{ include "so.cadi.keys" . | nindent 8}}
47   msb-ip: msb-iag
48   msb-port: 80
49 sdc:
50   username: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.username "value2" .Values.sdc.username )}}
51   password: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.password "value2" .Values.sdc.password )}}
52   key: {{ .Values.sdc.key }}
53   endpoint: https://sdc-be.{{ include "common.namespace" . }}:8443
54 vnfmadapter:
55   endpoint: https://so-vnfm-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 }}