Merge pull request #187 from sirius0xdev/fix/kafka-netpol-label

fix: network policy Kafka selector app → strimzi labels
This commit is contained in:
sirius0xdev 2026-05-27 10:20:42 -04:00 committed by GitHub
commit 267356de97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,11 +99,19 @@ spec:
ports:
- port: 6379
protocol: TCP
# Allow Kafka access
# Allow Kafka access (Strimzi labels)
- to:
- podSelector:
matchLabels:
app: trading-kafka
strimzi.io/name: trading-kafka
ports:
- port: 9092
protocol: TCP
# Allow Kafka bootstrap service (fallback)
- to:
- podSelector:
matchLabels:
strimzi.io/cluster: trading-kafka
ports:
- port: 9092
protocol: TCP