Merge "[UUI] Service Mesh Compliance for UUI"
[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" . }}:80
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   {{- if include "common.onServiceMesh" . }}
35   forward-headers-strategy: none
36   {{- end }}
37   port: {{ index .Values.containerPort }}
38   tomcat:
39     max-threads: 50
40 multicloud:
41   endpoint: http://multicloud-k8s.{{ include "common.namespace" . }}:9015
42 mso:
43   site-name: localSite
44   logPath: ./logs/cnf-adapter
45   msb-ip: msb-iag.{{ include "common.namespace" . }}
46   msb-port: 80
47 #Actuator
48 management:
49   endpoints:
50     web:
51       base-path: /manage
52       exposure:
53         include: "*"
54   metrics:
55     se-global-registry: false
56     export:
57       prometheus:
58         enabled: true # Whether exporting of metrics to Prometheus is enabled.
59         step: 1m # Step size (i.e. reporting frequency) to use.