These Kubernetes resource manifest yaml files demonstrate
vault.yaml
- setting up a test vault service
- configuring the vault service with kubernetes auth and a role for a test app
app.yaml
- running an app with a
vault-initinitContainer to login to vault and obtain a token - a
vault-secret-managercontainer to continuously interact with vault throughout the lifecycle of the app - an
appcontainer to use the secret saved by thevault-secret-managercontainer