Azure / kubernetes-keyvault-flexvol

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

Add support for Traefik ingress controller to get k8s secrets #179

Open helayoty opened 4 years ago

helayoty commented 4 years ago

Describe the request flexvol cannot be used to get secrets from keyvault into the Traefik ingress controller. It would be nice if the kubernetes-keyvault-flexvol could retrieve secrets as native kubernetes secrets.

Explain why Key Vault FlexVolume needs it

KeyVault FlexVolume needs to be a fully integrated solution for KeyVault. Customers don't feel ok with adding credentials directly in the deployment/configMaps yaml files.

Describe the solution you'd like kubernetes-keyvault-flexvol could retrieve secrets as native kubernetes secrets.So that the Traefik ingress controller can use the secret to have an HTTPS-protected ingress.

Describe alternatives you've considered

Additional context

Traefik documentation on how to setup a Traefik HTTPS-protected ingress and using k8s secrets: https://docs.traefik.io/v1.7/user-guide/kubernetes/