Azure / kubernetes-keyvault-flexvol

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

Dotnet core cert secret example #75

Open khampton6 opened 5 years ago

khampton6 commented 5 years ago

Adding a .net core sample project on how I read and parse the certificate from the KeyVault volume.

msftclas commented 5 years ago

CLA assistant check
All CLA requirements met.

ritazh commented 5 years ago

@khampton6 Thanks for the PR! 🎉 Do you mind moving these files from docs/examples to examples/certificates/dotnetcore? I will be moving the current traefik example under examples/certificates/traefik in another PR. Also would be great if you could add a link to reference this example under https://github.com/Azure/kubernetes-keyvault-flexvol#specific-use-cases

khampton6 commented 5 years ago

@khampton6 Thanks for the PR! 🎉 Do you mind moving these files from docs/examples to examples/certificates/dotnetcore? I will be moving the current traefik example under examples/certificates/traefik in another PR. Also would be great if you could add a link to reference this example under https://github.com/Azure/kubernetes-keyvault-flexvol#specific-use-cases

@ritazh sure! I pushed another 2 commits with these changes. Please take a look and let me know. Thanks!

ritazh commented 5 years ago

@khampton6 This looks great! Can you please also include the yaml files you used to deploy this application to Kubernetes? Thanks!

khampton6 commented 5 years ago

Hi Rita! Sorry for the delay. I have added the Docker and Pod configs and sent a new iteration. I will do some additional testing in the next few days along with adding the KV config to my pod declaration.

Thanks!