-
Notifications
You must be signed in to change notification settings - Fork 33
/
queue.yaml
78 lines (78 loc) · 1.65 KB
/
queue.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: point-queue
namespace: point
annotations:
argocd.argoproj.io/hook: Skip
labels:
service: point
role: queue
spec:
kafka:
version: 2.4.0
replicas: 3
listeners:
plain: {}
tls: {}
config:
offsets.topic.replication.factor: 1
transaction.state.log.replication.factor: 1
transaction.state.log.min.isr: 1
log.message.format.version: "2.4"
storage:
type: jbod
volumes:
- id: 0
type: persistent-claim
size: 10Gi
deleteClaim: false
class: rook-ceph-block
zookeeper:
replicas: 3
storage:
type: persistent-claim
size: 10Gi
deleteClaim: false
class: rook-ceph-block
entityOperator:
topicOperator: {}
userOperator: {}
---
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: point-topic
namespace: point
labels:
strimzi.io/cluster: point-queue
spec:
partitions: 1
replicas: 1
---
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaUser
metadata:
name: point-user
namespace: point
labels:
strimzi.io/cluster: point-queue
spec:
authentication:
type: tls
authorization:
type: simple
acls:
- resource:
type: topic
name: point-topic
patternType: literal
operation: "All"
host: "*"
- resource:
type: topic
name: test-topic
patternType: literal
operation: Read # "Read", "Write", "Create", "Delete", "Alter", "Describe", "ClusterAction", "AlterConfigs", "DescribeConfigs", "IdempotentWrite", "All"
host: "*"