Azure / kubernetes-keyvault-flexvol

Azure keyvault integration with Kubernetes via a Flex Volume
MIT License
253 stars 84 forks source link

mount fails when sudo is unavailable #26

Closed hmm01i closed 6 years ago

hmm01i commented 6 years ago

tested and pod was created/deleted successfully with secret mounted fixes: https://github.com/Azure/kubernetes-keyvault-flexvol/issues/25

I'm not too familiar with flexvolumes yet. But, there is rm ${MNTPATH} and ls ${MNTPATH} without sudo farther down in the script. So I'm assuming this is run with root privileges.

Thanks!

ritazh commented 6 years ago

Thanks for the contribution @hmm01i 🎉