Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / dcaegen2-services / components / dcae-ves-openapi-manager / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2021-2022 Nokia. All rights reserved.
4 # Modifications Copyright © 2023 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 # Global values
20 global:
21   pullPolicy: Always
22 image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.1
23 containerPort: &svc_port 8080
24
25 service:
26   ports:
27     - name: &port http
28       port: *svc_port
29
30 serviceMesh:
31   authorizationPolicy:
32     authorizedPrincipals: []
33
34 schemaMap:
35   filename: "schema-map.json"
36   directory: "/app/mappings"
37
38 liveness:
39   initialDelaySeconds: 30
40   periodSeconds: 30
41   path: /health
42   port: *port
43   # necessary to disable liveness probe when setting breakpoints
44   # in debugger so K8s doesn't restart unresponsive container
45   # liveness not desirable for Cloudify Manager container
46   enabled: true
47
48 readinessCheck:
49   wait_for:
50     services:
51       - sdc-be
52
53 flavor: small
54 resources:
55   small:
56     limits:
57       cpu: "2"
58       memory: "500Mi"
59     requests:
60       cpu: "1"
61       memory: "500Mi"
62   large:
63     limits:
64       cpu: "4"
65       memory: "1Gi"
66     requests:
67       cpu: "2"
68       memory: "1Gi"
69   unlimited: {}
70
71 #Pods Service Account
72 serviceAccount:
73   nameOverride: dcae-ves-openapi-manager
74   roles:
75     - read
76
77 # initial application configuration
78 applicationConfig:
79   vesopenapimanager:
80     validation:
81       schemaMapPath: ${SCHEMA_MAP_PATH:./src/main/resources/schema-map.json}
82       eventDomainPath: /event/structure/commonEventHeader/structure/domain/value
83       eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value
84     distribution:
85       sdcAddress: ${SDC_ADDRESS:sdc-be.onap:8080}
86       isUseHttpsWithSDC: false
87       user: dcae
88       password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
89       pollingInterval: 20
90       pollingTimeout: 20
91       consumerGroup: dcaegen2
92       environmentName: AUTO
93       consumerID: dcae-ves-openapi-manager
94       activateServerTLSAuth: false
95       isFilterInEmptyResources: false
96
97 # Strimzi KafkaUser config
98 kafkaUser:
99   acls:
100     - name: dcaegen2
101       type: group
102       operations: [Read]
103     - name: SDC-DISTR
104       type: topic
105       patternType: prefix
106       operations: [Read, Write]