# ============LICENSE_START=============================================== # Copyright (C) 2023 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============LICENSE_END================================================= # apiVersion: kafka.strimzi.io/v1beta2 kind: Kafka metadata: name: kafka-1 namespace: nonrtric spec: kafka: version: 3.3.1 replicas: 1 listeners: - name: plain port: 9092 type: internal tls: false - name: tls port: 9093 type: internal tls: true authentication: type: tls - name: sasl port: 9097 type: internal tls: false authentication: type: oauth enablePlain: true maxSecondsWithoutReauthentication: 300 validIssuerUri: http://keycloak.nonrtric:8080/realms/nonrtric-realm jwksEndpointUri: http://keycloak.nonrtric:8080/realms/nonrtric-realm/protocol/openid-connect/certs userNameClaim: preferred_username authorization: type: opa url: http://opa-kafka.nonrtric:8181/v1/data/kafka/authz/allow config: offsets.topic.replication.factor: 1 transaction.state.log.replication.factor: 1 transaction.state.log.min.isr: 1 default.replication.factor: 1 min.insync.replicas: 1 inter.broker.protocol.version: "3.3" storage: type: ephemeral zookeeper: replicas: 1 storage: type: ephemeral entityOperator: topicOperator: {} userOperator: {}