Skip to content

Commit a30b5e7

Browse files
committed
Use config map's config instead of image's
1 parent 1758478 commit a30b5e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

50kafka.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@ spec:
5454
- -c
5555
- 'echo "" | nc -w 1 127.0.0.1 9092'
5656
volumeMounts:
57+
- name: config
58+
mountPath: /opt/kafka/config
5759
- name: data
5860
mountPath: /var/lib/kafka/data
61+
volumes:
62+
- name: config
63+
configMap:
64+
name: broker-config
5965
volumeClaimTemplates:
6066
- metadata:
6167
name: data

0 commit comments

Comments
 (0)