Auto-restart kafka connect pod if ConfigMap or Secrets (external configuration) have changed. #10447
Unanswered
ness-safinapharas
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Strimzi does not support sidecars nor any reloading of the external secrets or config maps. Sorry. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We use the Strimzi Operator to build a Kafka Cluster and Kafka Connect as a CRD. We are utilizing a Camel HTTP sink connector. We have a certificate key that needs to be passed to the sink connector via JVM arguments. The certificates are stored in Vault and mounted to a specific path, and they are rotated every 7 days. We are using a Kubernetes Operator for ConfigMap and Secrets, which allows the certificates to refresh at the mounted path. However, the pod using the certificates is not restarting automatically. Is there a way to restart a KafkaConnect (CRD) pod when Secrets or ConfigMap are changed?
We tried a reloader library, but this kind of library works with Deployments. Here we are using Custom Resources for KafkaConnect. Also is there any way to use the side car in KafkaConnect CRD resource? This is a very urgent issue. Can someone help?
Beta Was this translation helpful? Give feedback.
All reactions