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. |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 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 |
efiacor | f1d43f7 | 2022-11-29 08:21:35 +0000 | [diff] [blame] | 21 | image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.0 |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 22 | containerPort: &svc_port 8080 |
| 23 | |
efiacor | f1d43f7 | 2022-11-29 08:21:35 +0000 | [diff] [blame] | 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 | |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 48 | service: |
| 49 | ports: |
| 50 | - name: &port http |
| 51 | port: *svc_port |
| 52 | |
| 53 | externalServices: |
| 54 | sdc_be_https: "sdc-be:8443" |
| 55 | |
| 56 | schemaMap: |
| 57 | filename: "schema-map.json" |
Michal Banka | 254c71b | 2021-03-18 13:09:19 +0100 | [diff] [blame] | 58 | directory: "/app/mappings" |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 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: |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 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 |
farida azmy | 3748180 | 2021-04-11 15:41:32 +0200 | [diff] [blame] | 90 | unlimited: {} |
| 91 | |
| 92 | #Pods Service Account |
| 93 | serviceAccount: |
| 94 | nameOverride: dcae-ves-openapi-manager |
| 95 | roles: |
| 96 | - read |
Tomasz Wrobel | 9df9ba2 | 2022-12-07 12:37:02 +0100 | [diff] [blame] | 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: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 |