Merge "[POLICY-PPNT] Move policy-clamp-ppnt use case to use strimzi kafka"
[oom.git] / kubernetes / strimzi / values.yaml
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:
19   nodePortPrefixExt: 304
20   persistence:
21     mountPath: /dockerdata-nfs
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 replicaCount: 3
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
32   advertisedHost: kafka-api.simpledemo.onap.org
33   advertizedPortBroker0: &advertizedPortBroker0 9000
34   advertizedPortBroker1: &advertizedPortBroker1 9001
35   advertizedPortBroker2: &advertizedPortBroker2 9002
36
37 persistence:
38   enabled: &pvenabled true
39   mountPath: /dockerdata-nfs
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
56
57 #Pods Service Account
58 serviceAccount:
59   nameOverride: strimzi-kafka
60   roles:
61     - read
62
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
87 ######################
88 #  Component overrides
89 ######################
90 strimzi-kafka-bridge:
91   enabled: true
92   config:
93     saslMechanism: *saslMech
94     kafkaInternalPort: *plainPort
95     strimziKafkaAdminUser: *adminUser