efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 1 | # Copyright © 2022 Nordix Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
efiacor | af68a7e | 2022-04-08 10:59:52 +0100 | [diff] [blame] | 19 | nodePortPrefixExt: 304 |
efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
efiacor | 1cfa2fb | 2022-06-01 16:02:39 +0100 | [diff] [blame] | 25 | replicaCount: 3 |
efiacor | 57901a9 | 2022-11-14 16:17:15 +0000 | [diff] [blame] | 26 | config: |
| 27 | kafkaVersion: 3.2.3 |
| 28 | authType: simple |
| 29 | saslMechanism: &saslMech scram-sha-512 |
| 30 | kafkaInternalPort: &plainPort 9092 |
| 31 | strimziKafkaAdminUser: &adminUser strimzi-kafka-admin |
Andreas Geissler | eb68c40 | 2023-02-23 11:09:01 +0100 | [diff] [blame] | 32 | advertisedHost: kafka-api.simpledemo.onap.org |
| 33 | advertizedPortBroker0: &advertizedPortBroker0 9000 |
| 34 | advertizedPortBroker1: &advertizedPortBroker1 9001 |
| 35 | advertizedPortBroker2: &advertizedPortBroker2 9002 |
efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 36 | |
efiacor | 57901a9 | 2022-11-14 16:17:15 +0000 | [diff] [blame] | 37 | persistence: |
| 38 | enabled: &pvenabled true |
efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 39 | mountPath: /dockerdata-nfs |
efiacor | 57901a9 | 2022-11-14 16:17:15 +0000 | [diff] [blame] | 40 | kafka: |
| 41 | enabled: *pvenabled |
| 42 | # default values of 2Gi for dev env. |
| 43 | # Production values should be dimensioned according to requirements. ie >= 10Gi |
| 44 | size: 2Gi |
| 45 | volumeReclaimPolicy: Retain |
| 46 | accessMode: ReadWriteOnce |
| 47 | mountPath: /dockerdata-nfs |
| 48 | mountSubPath: strimzi-kafka/kafka |
| 49 | zookeeper: |
| 50 | enabled: *pvenabled |
| 51 | size: 1Gi |
| 52 | volumeReclaimPolicy: Retain |
| 53 | accessMode: ReadWriteOnce |
| 54 | mountPath: /dockerdata-nfs |
| 55 | mountSubPath: strimzi-kafka/zk |
efiacor | 5c57331 | 2022-01-27 13:46:56 +0000 | [diff] [blame] | 56 | |
| 57 | #Pods Service Account |
| 58 | serviceAccount: |
| 59 | nameOverride: strimzi-kafka |
| 60 | roles: |
| 61 | - read |
efiacor | 57901a9 | 2022-11-14 16:17:15 +0000 | [diff] [blame] | 62 | |
Andreas Geissler | eb68c40 | 2023-02-23 11:09:01 +0100 | [diff] [blame] | 63 | ingress: |
| 64 | enabled: false |
| 65 | service: |
| 66 | - baseaddr: "kafka-bootstrap-api" |
| 67 | name: "onap-strimzi-kafka-external-bootstrap" |
| 68 | port: 9094 |
| 69 | exposedPort: 9010 |
| 70 | exposedProtocol: TLS |
| 71 | - baseaddr: "kafka-0-api" |
| 72 | name: "onap-strimzi-kafka-0" |
| 73 | port: 9094 |
| 74 | exposedPort: *advertizedPortBroker0 |
| 75 | exposedProtocol: TLS |
| 76 | - baseaddr: "kafka-1-api" |
| 77 | name: "onap-strimzi-kafka-1" |
| 78 | port: 9094 |
| 79 | exposedPort: *advertizedPortBroker1 |
| 80 | exposedProtocol: TLS |
| 81 | - baseaddr: "kafka-2-api" |
| 82 | name: "onap-strimzi-kafka-2" |
| 83 | port: 9094 |
| 84 | exposedPort: *advertizedPortBroker2 |
| 85 | exposedProtocol: TLS |
| 86 | |
efiacor | 57901a9 | 2022-11-14 16:17:15 +0000 | [diff] [blame] | 87 | ###################### |
| 88 | # Component overrides |
| 89 | ###################### |
| 90 | strimzi-kafka-bridge: |
| 91 | enabled: true |
| 92 | config: |
| 93 | saslMechanism: *saslMech |
| 94 | kafkaInternalPort: *plainPort |
| 95 | strimziKafkaAdminUser: *adminUser |