Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itadventurer committed Jun 24, 2024
1 parent f7d9450 commit b4f6467
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
12 changes: 6 additions & 6 deletions kubernetes/acls/csp1_consumer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: csp1_consumer
name: csp1.consumer
labels:
strimzi.io/cluster: kafka
spec:
Expand All @@ -12,7 +12,7 @@ spec:
acls:
- resource:
type: group
name: csp1_consumer
name: csp1-consumer
patternType: literal
operation: Read
host: "*"
Expand Down Expand Up @@ -59,11 +59,11 @@ spec:
- name: KAFKA_BOOTSTRAP_SERVERS
value: kafka-kafka-bootstrap:9093
- name: KAFKA_GROUP_ID
value: csp1_consumer
value: csp1-consumer
- name: KAFKA_TOPIC
value: csp1.transactions
- name: KAFKA_CLIENT_ID
value: csp1_consumer
value: csp1-consumer
- name: KAFKA_APP_LOG_INFOS
value: "true"
# SSL Configs
Expand All @@ -72,7 +72,7 @@ spec:
- name: KAFKA_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: csp1_consumer
name: csp1-consumer
key: user.password
- name: KAFKA_SSL_KEYSTORE_LOCATION
value: /tls/user.p12
Expand All @@ -86,7 +86,7 @@ spec:
volumes:
- name: user-certs
secret:
secretName: csp1_consumer
secretName: csp1.consumer
- name: cluster-certs
secret:
secretName: kafka-cluster-ca-cert
8 changes: 4 additions & 4 deletions kubernetes/acls/csp1_producer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: csp1_producer
name: csp1.producer
labels:
strimzi.io/cluster: kafka
spec:
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
- name: KAFKA_TOPIC
value: csp1.transactions
- name: KAFKA_CLIENT_ID
value: csp1_producer
value: csp1.producer
- name: KAFKA_PRODUCER_MSGS_PER_SEC
value: "1"
- name: KAFKA_APP_LOG_INFOS
Expand All @@ -66,7 +66,7 @@ spec:
- name: KAFKA_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: csp1_producer
name: csp1.producer
key: user.password
- name: KAFKA_SSL_KEYSTORE_LOCATION
value: /tls/user.p12
Expand All @@ -80,7 +80,7 @@ spec:
volumes:
- name: user-certs
secret:
secretName: csp1_producer
secretName: csp1.producer
- name: cluster-certs
secret:
secretName: kafka-cluster-ca-cert
12 changes: 6 additions & 6 deletions kubernetes/acls/csp1_transformer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: csp1_transformer
name: csp1.transformer
labels:
strimzi.io/cluster: kafka
spec:
Expand All @@ -12,7 +12,7 @@ spec:
acls:
- resource:
type: group
name: csp1_transformer
name: csp1.transformer
patternType: literal
operation: Read
host: "*"
Expand Down Expand Up @@ -75,13 +75,13 @@ spec:
- name: KAFKA_CSP1_TOPIC
value: csp1.transactions
- name: KAFKA_CLIENT_ID
value: csp1_transformer
value: csp1.transformer
- name: KAFKA_APP_LOG_INFOS
value: "true"
- name: KAFKA_OUTPUT_TOPIC
value: transactions
- name: KAFKA_GROUP_ID
value: csp1_transformer
value: csp1.transformer
- name: KAFKA_TRANSACTIONAL_ID
value: transactions-transformer-app
- name: KAFKA_PROCESSING_TIME_MS
Expand All @@ -92,7 +92,7 @@ spec:
- name: KAFKA_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: csp1_producer
name: csp1.producer
key: user.password
- name: KAFKA_SSL_KEYSTORE_LOCATION
value: /tls/user.p12
Expand All @@ -106,7 +106,7 @@ spec:
volumes:
- name: user-certs
secret:
secretName: csp1_producer
secretName: csp1.producer
- name: cluster-certs
secret:
secretName: kafka-cluster-ca-cert
8 changes: 4 additions & 4 deletions kubernetes/acls/csp2_producer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: csp2_producer
name: csp2.producer
labels:
strimzi.io/cluster: kafka
spec:
Expand Down Expand Up @@ -59,7 +59,7 @@ spec:
- name: KAFKA_PRODUCER_MSGS_PER_BATCH
value: "100"
- name: KAFKA_CLIENT_ID
value: csp2_producer
value: csp2.producer
- name: KAFKA_APP_LOG_INFOS
value: "true"
# SSL Configs
Expand All @@ -68,7 +68,7 @@ spec:
- name: KAFKA_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: csp2_producer
name: csp2.producer
key: user.password
- name: KAFKA_SSL_KEYSTORE_LOCATION
value: /tls/user.p12
Expand All @@ -82,7 +82,7 @@ spec:
volumes:
- name: user-certs
secret:
secretName: csp2_producer
secretName: csp2.producer
- name: cluster-certs
secret:
secretName: kafka-cluster-ca-cert
10 changes: 5 additions & 5 deletions kubernetes/acls/csp2_transformer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaUser
metadata:
name: csp2_transformer
name: csp2.transformer
labels:
strimzi.io/cluster: kafka
spec:
Expand All @@ -12,7 +12,7 @@ spec:
acls:
- resource:
type: group
name: csp2_transformer
name: csp2.transformer
patternType: literal
operation: Read
host: "*"
Expand Down Expand Up @@ -74,7 +74,7 @@ spec:
- name: KAFKA_CSP2_CHARGINGSTATION_ID_MAPPING_TOPIC
value: csp2.chargingstation.id.mapping
- name: KAFKA_CLIENT_ID
value: csp2_transformer
value: csp2.transformer
- name: KAFKA_APP_LOG_INFOS
value: "true"
- name: KAFKA_OUTPUT_TOPIC
Expand All @@ -87,7 +87,7 @@ spec:
- name: KAFKA_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: csp2_transformer
name: csp2.transformer
key: user.password
- name: KAFKA_SSL_KEYSTORE_LOCATION
value: /tls/user.p12
Expand All @@ -101,7 +101,7 @@ spec:
volumes:
- name: user-certs
secret:
secretName: csp2_transformer
secretName: csp2.transformer
- name: cluster-certs
secret:
secretName: kafka-cluster-ca-cert

0 comments on commit b4f6467

Please sign in to comment.