Skip to content

Commit

Permalink
Adding 2 smartvillage Kafka topics and a smartvillage Kafka user (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
computate authored Mar 13, 2023
1 parent df89de3 commit 0e18191
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kafka/overlays/smaug/topics/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ resources:
- thoth-unrevsolved-package.yaml
- thoth-update-provides-source-distro.yaml
- ddas-commands.yaml
- smartvillage-sumo-run-report.yaml
- smartvillage-sumo-run.yaml
12 changes: 12 additions & 0 deletions kafka/overlays/smaug/topics/smartvillage-sumo-run-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata:
name: smartvillage-sumo-run-report
labels:
strimzi.io/cluster: odh-message-bus
spec:
partitions: 2
replicas: 3
config:
# message retention period is 6 hours
retention.ms: 21600000
12 changes: 12 additions & 0 deletions kafka/overlays/smaug/topics/smartvillage-sumo-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata:
name: smartvillage-sumo-run
labels:
strimzi.io/cluster: odh-message-bus
spec:
partitions: 2
replicas: 3
config:
# message retention period is 6 hours
retention.ms: 21600000
1 change: 1 addition & 0 deletions kafka/overlays/smaug/users/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ resources:
- thoth.yaml
- emea-sa-od-demo.yaml
- ddas.yaml
- smartvillage.yaml
24 changes: 24 additions & 0 deletions kafka/overlays/smaug/users/smartvillage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: smartvillage
spec:
authentication:
type: tls
authorization:
acls:
- host: '*'
operation: All
resource:
name: smartvillage-
patternType: prefix
type: topic
type: allow
- host: '*'
operation: All
resource:
name: smartvillage-
patternType: prefix
type: group
type: allow
type: simple

0 comments on commit 0e18191

Please sign in to comment.