blob: 4f1f18444cca409ac5de54dc510731cd10ad98b4 [file] [log] [blame]
Michal Banka3d487482021-02-11 10:36:47 +01001#============LICENSE_START========================================================
2#=================================================================================
Remigiusz Janeczek2846c942022-03-03 15:45:04 +01003# Copyright (c) 2021-2022 Nokia. All rights reserved.
Michal Banka3d487482021-02-11 10:36:47 +01004# ================================================================================
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
19global:
20 pullPolicy: Always
efiacorf1d43f72022-11-29 08:21:35 +000021image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.0
Michal Banka3d487482021-02-11 10:36:47 +010022containerPort: &svc_port 8080
23
efiacorf1d43f72022-11-29 08:21:35 +000024secrets:
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
34config:
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
46vesOpenApiKafkaUser: ves-open-api-kafka-user
47
Michal Banka3d487482021-02-11 10:36:47 +010048service:
49 ports:
50 - name: &port http
51 port: *svc_port
52
53externalServices:
54 sdc_be_https: "sdc-be:8443"
55
56schemaMap:
57 filename: "schema-map.json"
Michal Banka254c71b2021-03-18 13:09:19 +010058 directory: "/app/mappings"
Michal Banka3d487482021-02-11 10:36:47 +010059
60liveness:
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
70readinessCheck:
71 wait_for:
Michal Banka3d487482021-02-11 10:36:47 +010072 - sdc-be
73
74flavor: small
75resources:
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
farida azmy37481802021-04-11 15:41:32 +020090 unlimited: {}
91
92#Pods Service Account
93serviceAccount:
94 nameOverride: dcae-ves-openapi-manager
95 roles:
96 - read
Tomasz Wrobel9df9ba22022-12-07 12:37:02 +010097
98# initial application configuration
99applicationConfig:
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:30204}
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