Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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   {{ 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   enabled: {{ .Values.global.aai.enabled }}
25 logging:
26   path: logs
27 spring:
28   security:
29     usercredentials:
30       - username: ${ACTUATOR_USERNAME}
31         password: ${ACTUATOR_PASSWORD}
32         role: ACTUATOR
33 server:
34   port: {{ index .Values.containerPort }}
35   tomcat:
36     max-threads: 50
37 multicloud:
38   endpoint: http://multicloud-k8s.{{ include "common.namespace" . }}:9015
39 mso:
40   site-name: localSite
41   logPath: ./logs/cnf-adapter
42   msb-ip: msb-iag.{{ include "common.namespace" . }}
43   msb-port: 80
44 #Actuator
45 management:
46   endpoints:
47     web:
48       base-path: /manage
49       exposure:
50         include: "*"
51   metrics:
52     se-global-registry: false
53     export:
54       prometheus:
55         enabled: true # Whether exporting of metrics to Prometheus is enabled.
56         step: 1m # Step size (i.e. reporting frequency) to use.