Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
Remigiusz Janeczek | 2846c94 | 2022-03-03 15:45:04 +0100 | [diff] [blame] | 3 | # Copyright (c) 2021-2022 Nokia. All rights reserved. |
efiacor | 6567221 | 2023-03-04 09:02:52 +0000 | [diff] [blame] | 4 | # Modifications Copyright © 2023 Nordix Foundation. |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 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 |
efiacor | 6567221 | 2023-03-04 09:02:52 +0000 | [diff] [blame] | 22 | image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.1 |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 23 | containerPort: &svc_port 8080 |
| 24 | |
| 25 | service: |
| 26 | ports: |
| 27 | - name: &port http |
| 28 | port: *svc_port |
| 29 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 30 | serviceMesh: |
| 31 | authorizationPolicy: |
| 32 | authorizedPrincipals: [] |
| 33 | |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 34 | schemaMap: |
| 35 | filename: "schema-map.json" |
Michal Banka | 254c71b | 2021-03-18 13:09:19 +0100 | [diff] [blame] | 36 | directory: "/app/mappings" |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 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: |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 50 | - sdc-be |
| 51 | |
| 52 | flavor: small |
| 53 | resources: |
| 54 | small: |
| 55 | limits: |
| 56 | cpu: 1 |
| 57 | memory: 1Gi |
| 58 | requests: |
| 59 | cpu: 1 |
| 60 | memory: 512Mi |
| 61 | large: |
| 62 | limits: |
| 63 | cpu: 2 |
| 64 | memory: 2Gi |
| 65 | requests: |
| 66 | cpu: 1 |
| 67 | memory: 1Gi |
farida azmy | 3748180 | 2021-04-11 15:41:32 +0200 | [diff] [blame] | 68 | unlimited: {} |
| 69 | |
| 70 | #Pods Service Account |
| 71 | serviceAccount: |
| 72 | nameOverride: dcae-ves-openapi-manager |
| 73 | roles: |
| 74 | - read |
Tomasz Wrobel | 9df9ba2 | 2022-12-07 12:37:02 +0100 | [diff] [blame] | 75 | |
| 76 | # initial application configuration |
| 77 | applicationConfig: |
| 78 | vesopenapimanager: |
| 79 | validation: |
| 80 | schemaMapPath: ${SCHEMA_MAP_PATH:./src/main/resources/schema-map.json} |
| 81 | eventDomainPath: /event/structure/commonEventHeader/structure/domain/value |
| 82 | eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value |
| 83 | distribution: |
Andreas Geissler | b0841b8 | 2022-12-16 10:40:21 +0100 | [diff] [blame] | 84 | sdcAddress: ${SDC_ADDRESS:sdc-be.onap:8080} |
efiacor | 6567221 | 2023-03-04 09:02:52 +0000 | [diff] [blame] | 85 | isUseHttpsWithSDC: false |
Tomasz Wrobel | 9df9ba2 | 2022-12-07 12:37:02 +0100 | [diff] [blame] | 86 | user: dcae |
| 87 | password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 88 | pollingInterval: 20 |
| 89 | pollingTimeout: 20 |
| 90 | consumerGroup: dcaegen2 |
| 91 | environmentName: AUTO |
efiacor | 6567221 | 2023-03-04 09:02:52 +0000 | [diff] [blame] | 92 | consumerID: dcae-ves-openapi-manager |
Tomasz Wrobel | 9df9ba2 | 2022-12-07 12:37:02 +0100 | [diff] [blame] | 93 | activateServerTLSAuth: false |
| 94 | isFilterInEmptyResources: false |
efiacor | 6567221 | 2023-03-04 09:02:52 +0000 | [diff] [blame] | 95 | |
| 96 | # Strimzi KafkaUser config |
| 97 | kafkaUser: |
| 98 | acls: |
| 99 | - name: dcaegen2 |
| 100 | type: group |
| 101 | operations: [Read] |
| 102 | - name: SDC-DISTR |
| 103 | type: topic |
| 104 | patternType: prefix |
| 105 | operations: [Read, Write] |