dcc0bb85ae5b36cc2d99064dcf264bb1230ed62c
[nonrtric/plt/ranpm.git] / install / helm / nrt-base-1 / charts / strimzi-kafka / templates / app-kafka.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2023 Nordix Foundation. All rights reserved.
3 #  ========================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #  ============LICENSE_END=================================================
16 #
17
18 apiVersion: kafka.strimzi.io/v1beta2
19 kind: Kafka
20 metadata:
21   name: kafka-1
22   namespace: nonrtric
23 spec:
24   kafka:
25     version: 3.3.1
26     replicas: 1
27     listeners:
28       - name: plain
29         port: 9092
30         type: internal
31         tls: false
32       - name: tls
33         port: 9093
34         type: internal
35         tls: true
36         authentication:
37           type: tls
38       - name: sasl
39         port: 9097
40         type: internal
41         tls: false
42         authentication:
43           type: oauth
44           enablePlain: true
45           maxSecondsWithoutReauthentication: 300
46           validIssuerUri: http://keycloak.nonrtric:8080/realms/nonrtric-realm
47           jwksEndpointUri: http://keycloak.nonrtric:8080/realms/nonrtric-realm/protocol/openid-connect/certs
48           userNameClaim: preferred_username
49     authorization:
50       type: opa
51       url: http://opa-kafka.nonrtric:8181/v1/data/kafka/authz/allow
52     config:
53       offsets.topic.replication.factor: 1
54       transaction.state.log.replication.factor: 1
55       transaction.state.log.min.isr: 1
56       default.replication.factor: 1
57       min.insync.replicas: 1
58       inter.broker.protocol.version: "3.3"
59
60     storage:
61       type: ephemeral
62   zookeeper:
63     replicas: 1
64     storage:
65       type: ephemeral
66   entityOperator:
67     topicOperator: {}
68     userOperator: {}