K8s External secret Class secrets with Kafka Connect #12677
Replies: 1 comment
|
The issue is probably that the Strimzi operator expects the secret to exist in the same namespace as the KafkaConnect resource, but the CSI driver creates the secret after the pod starts up (or in a different namespace). The flow is: Strimzi operator reads the KafkaConnect CR → tries to mount/reference the secret → secret doesn't exist yet because the CSI driver hasn't synced it → error. A few approaches:
What's the actual error message you're getting? |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Please could someone help with how I can go about this issue. So I have deployed the strimzi operator in our eks cluster and a strimzi namespace. I now want to deploy the kafkaconnect in a kafka connect namespace ; I have introduced a secret provider class in conjuction with aws csi to read the password /api key from our aws registry. The issue is that when I mount the volume on the kafkaconnect pod , I think the operator fails with the error secret isnt found. To by pass I have managed to create another pod that creates the secret first and that works ; however I dont want to use this approach ; any other approach will be highly appreciated. Thanks
All reactions