[SO] Add multicloud endpoint to cnf adapter
[oom.git] / kubernetes / so / components / so-cnf-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2020 Huawei Technologies Co., Ltd.
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.server.aai.auth ) }}
19   endpoint: https://aai.{{ include "common.namespace" . }}:8443
20 logging:
21   path: logs
22 spring:
23   security:
24     usercredentials:
25       - username: ${ACTUATOR_USERNAME}
26         password: ${ACTUATOR_PASSWORD}
27         role: ACTUATOR
28 server:
29   port: {{ index .Values.containerPort }}
30   tomcat:
31     max-threads: 50
32 multicloud:
33   endpoint: http://multicloud-k8s.{{ include "common.namespace" . }}:9015
34 mso:
35   site-name: localSite
36   logPath: ./logs/cnf-adapter
37   msb-ip: msb-iag.{{ include "common.namespace" . }}
38   msb-port: 80
39 #Actuator
40 management:
41   endpoints:
42     web:
43       base-path: /manage
44       exposure:
45         include: "*"
46   metrics:
47     se-global-registry: false
48     export:
49       prometheus:
50         enabled: true # Whether exporting of metrics to Prometheus is enabled.
51         step: 1m # Step size (i.e. reporting frequency) to use.
52