blob: ec1ed887a79b7d94e25ca3483281f4709a8fb257 [file] [log] [blame]
efiacor5c573312022-01-27 13:46:56 +00001# 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#################################################################
18global:
efiacoraf68a7e2022-04-08 10:59:52 +010019 nodePortPrefixExt: 304
efiacor5c573312022-01-27 13:46:56 +000020 persistence:
21 mountPath: /dockerdata-nfs
efiacor5c573312022-01-27 13:46:56 +000022#################################################################
23# Application configuration defaults.
24#################################################################
efiacor1cfa2fb2022-06-01 16:02:39 +010025replicaCount: 3
efiacor57901a92022-11-14 16:17:15 +000026config:
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 Geisslereb68c402023-02-23 11:09:01 +010032 advertisedHost: kafka-api.simpledemo.onap.org
33 advertizedPortBroker0: &advertizedPortBroker0 9000
34 advertizedPortBroker1: &advertizedPortBroker1 9001
35 advertizedPortBroker2: &advertizedPortBroker2 9002
efiacor5c573312022-01-27 13:46:56 +000036
efiacor57901a92022-11-14 16:17:15 +000037persistence:
38 enabled: &pvenabled true
efiacor5c573312022-01-27 13:46:56 +000039 mountPath: /dockerdata-nfs
efiacor57901a92022-11-14 16:17:15 +000040 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
efiacor5c573312022-01-27 13:46:56 +000056
57#Pods Service Account
58serviceAccount:
59 nameOverride: strimzi-kafka
60 roles:
61 - read
efiacor57901a92022-11-14 16:17:15 +000062
Andreas Geisslereb68c402023-02-23 11:09:01 +010063ingress:
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
efiacor57901a92022-11-14 16:17:15 +000087######################
88# Component overrides
89######################
90strimzi-kafka-bridge:
91 enabled: true
92 config:
93 saslMechanism: *saslMech
94 kafkaInternalPort: *plainPort
95 strimziKafkaAdminUser: *adminUser