question

Therequestdidnothaveasubscription-3369 avatar image
0 Votes"
Therequestdidnothaveasubscription-3369 asked prmanhas-MSFT commented

Data fetch from AKV to different namespace and hpw we set csi and aad i9 other 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?

azure-kubernetes-service
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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

0 Votes 0 ·
shivapatpi-MSFT avatar image shivapatpi-MSFT Therequestdidnothaveasubscription-3369 ·

Hello @Therequestdidnothaveasubscription-3369 ,
Sorry for late reply , That's correct !

Regards,
Shiva.

0 Votes 0 ·

@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

0 Votes 0 ·

1 Answer

shivapatpi-MSFT avatar image
0 Votes"
shivapatpi-MSFT answered

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/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.