Merge pull request #187 from sirius0xdev/fix/kafka-netpol-label
fix: network policy Kafka selector app → strimzi labels
This commit is contained in:
commit
267356de97
1 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue