Merge "[MARIADB] Create CNFM Database Within MariaDB"
[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 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17
18 # Global values
19 global:
20   pullPolicy: Always
21 image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.0
22 containerPort: &svc_port 8080
23
24 secrets:
25   - uid: ves-openapi-kafka-secret
26     externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
27     type: genericKV
28     envs:
29       - name: sasl.jaas.config
30         value: '{{ .Values.config.someConfig }}'
31         policy: generate
32
33 # application configuration
34 config:
35   someConfig: blah
36   kafka:
37     bootstrapServer: strimzi-kafka-bootstrap:9092
38     securityProtocol: SASL_PLAINTEXT
39     saslMechanism: SCRAM-SHA-512
40     authType: simple
41     sdcTopic:
42       pattern: SDC-DIST
43       consumerGroup: dcaegen2
44       clientId: ves-openapi-manager
45
46 vesOpenApiKafkaUser: ves-open-api-kafka-user
47
48 service:
49   ports:
50     - name: &port http
51       port: *svc_port
52
53 externalServices:
54   sdc_be_https: "sdc-be:8080"
55
56 schemaMap:
57   filename: "schema-map.json"
58   directory: "/app/mappings"
59
60 liveness:
61   initialDelaySeconds: 30
62   periodSeconds: 30
63   path: /health
64   port: *port
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   # liveness not desirable for Cloudify Manager container
68   enabled: true
69
70 readinessCheck:
71   wait_for:
72   - sdc-be
73
74 flavor: small
75 resources:
76   small:
77     limits:
78       cpu: 1
79       memory: 1Gi
80     requests:
81       cpu: 1
82       memory: 512Mi
83   large:
84     limits:
85       cpu: 2
86       memory: 2Gi
87     requests:
88       cpu: 1
89       memory: 1Gi
90   unlimited: {}
91
92 #Pods Service Account
93 serviceAccount:
94   nameOverride: dcae-ves-openapi-manager
95   roles:
96     - read
97
98 # initial application configuration
99 applicationConfig:
100   vesopenapimanager:
101     validation:
102       schemaMapPath: ${SCHEMA_MAP_PATH:./src/main/resources/schema-map.json}
103       eventDomainPath: /event/structure/commonEventHeader/structure/domain/value
104       eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value
105     distribution:
106       sdcAddress: ${SDC_ADDRESS:sdc-be.onap:8080}
107       user: dcae
108       password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
109       pollingInterval: 20
110       pollingTimeout: 20
111       consumerGroup: dcaegen2
112       environmentName: AUTO
113       consumerID: ves-openapi-manager
114       activateServerTLSAuth: false
115       isFilterInEmptyResources: false