I have created CSI in AKS and also configure AAD.I am able to fetch logs from AKV to AKS in default.
Can anyone guide me on how i can fetch passwords from AKV to different namespaces?
I have created CSI in AKS and also configure AAD.I am able to fetch logs from AKV to AKS in default.
Can anyone guide me on how i can fetch passwords from AKV to different namespaces?
That means i need to deploy CSI-Driver ,Secret provider both on different namespaces where i have to deploy my App or only secret provider and my App in that namespaces
Hello @Therequestdidnothaveasubscription-3369 ,
Sorry for late reply , That's correct !
Regards,
Shiva.
@Therequestdidnothaveasubscription-3369 Any updates on the issue?
Please "Accept as Answer" if below helped so it can help others in community looking for help on similar topics.
Thanks
Hello @Therequestdidnothaveasubscription-3369 ,
Thanks for your query .
While integrating AKS with AKV , everything works good if the pod is in the same namespace with the csi-driver, and the SecretProviderClass . If the pod is in a different namespace, along with the SecretProviderClass it might not work. The driver needs to be installed in all namespaces so that the pods from the other namespaces can have access to the secrets from the keyvault if you want all your pods, from all namespaces to have access to the secrets.
https://docs.microsoft.com/en-us/azure/key-vault/general/key-vault-integrate-kubernetes
The SecretProviderClass has to be in the same namespace as the pod referencing it.
https://azure.github.io/secrets-store-csi-driver-provider-azure/getting-started/usage/
4 people are following this question.