blob: 057f2003c78e60b1cd5c5b9311604609056830b5 [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
Andreas Geissler29007652023-03-23 14:05:45 +010022 ingress:
23 virtualhost:
24 baseurl: &baseurl "simpledemo.onap.org"
25 preaddr: &preaddr ""
26 postaddr: &postaddr ""
27
efiacor5c573312022-01-27 13:46:56 +000028#################################################################
29# Application configuration defaults.
30#################################################################
efiacor1cfa2fb2022-06-01 16:02:39 +010031replicaCount: 3
efiacor57901a92022-11-14 16:17:15 +000032config:
33 kafkaVersion: 3.2.3
34 authType: simple
35 saslMechanism: &saslMech scram-sha-512
36 kafkaInternalPort: &plainPort 9092
37 strimziKafkaAdminUser: &adminUser strimzi-kafka-admin
Andreas Geisslereb68c402023-02-23 11:09:01 +010038 advertisedHost: kafka-api.simpledemo.onap.org
39 advertizedPortBroker0: &advertizedPortBroker0 9000
40 advertizedPortBroker1: &advertizedPortBroker1 9001
41 advertizedPortBroker2: &advertizedPortBroker2 9002
efiacor5c573312022-01-27 13:46:56 +000042
efiacor57901a92022-11-14 16:17:15 +000043persistence:
44 enabled: &pvenabled true
efiacor5c573312022-01-27 13:46:56 +000045 mountPath: /dockerdata-nfs
efiacor57901a92022-11-14 16:17:15 +000046 kafka:
47 enabled: *pvenabled
48 # default values of 2Gi for dev env.
49 # Production values should be dimensioned according to requirements. ie >= 10Gi
50 size: 2Gi
51 volumeReclaimPolicy: Retain
52 accessMode: ReadWriteOnce
53 mountPath: /dockerdata-nfs
54 mountSubPath: strimzi-kafka/kafka
55 zookeeper:
56 enabled: *pvenabled
57 size: 1Gi
58 volumeReclaimPolicy: Retain
59 accessMode: ReadWriteOnce
60 mountPath: /dockerdata-nfs
61 mountSubPath: strimzi-kafka/zk
efiacor5c573312022-01-27 13:46:56 +000062
63#Pods Service Account
64serviceAccount:
65 nameOverride: strimzi-kafka
66 roles:
67 - read
efiacor57901a92022-11-14 16:17:15 +000068
Andreas Geisslereb68c402023-02-23 11:09:01 +010069ingress:
70 enabled: false
71 service:
72 - baseaddr: "kafka-bootstrap-api"
73 name: "onap-strimzi-kafka-external-bootstrap"
74 port: 9094
Andreas Geissler29007652023-03-23 14:05:45 +010075 protocol: tcp
Andreas Geisslereb68c402023-02-23 11:09:01 +010076 exposedPort: 9010
77 exposedProtocol: TLS
Andreas Geissler29007652023-03-23 14:05:45 +010078 - baseaddr: "kafka-api"
79 tcpRoutes:
80 - name: "onap-strimzi-kafka-0"
81 port: 9094
82 exposedPort: *advertizedPortBroker0
83 exposedProtocol: TLS
84 - name: "onap-strimzi-kafka-1"
85 port: 9094
86 exposedPort: *advertizedPortBroker1
87 exposedProtocol: TLS
88 - name: "onap-strimzi-kafka-2"
89 port: 9094
90 exposedPort: *advertizedPortBroker2
91 exposedProtocol: TLS
Andreas Geisslereb68c402023-02-23 11:09:01 +010092
efiacor57901a92022-11-14 16:17:15 +000093######################
94# Component overrides
95######################
96strimzi-kafka-bridge:
97 enabled: true
98 config:
99 saslMechanism: *saslMech
100 kafkaInternalPort: *plainPort
101 strimziKafkaAdminUser: *adminUser