Various HashiCorp Vault development patterns
MPL-2.0 License
This repository contains example patterns to help secure Kubernetes applications.
The example Kubernetes application runs locally on your computer, no cloud needed just two simple tools:
All required resources, and documentation are created using Shipyard.
Running the command shipyard run ./blueprint
will create and configure the following elements using Docker.
shipyard run ./blueprint
Running configuration from: ./blueprint
2020-04-30T14:06:33.482+0100 [DEBUG] Statefile does not exist
2020-04-30T14:06:33.482+0100 [INFO] Creating Network: ref=cloud
Shipyard is cross platform and works on Windows, Linux, and Mac.
You can interact with the demo stack either throught the interactive documentation or by setting the following environment variables and using your local tooling.
KUBECONFIG=$HOME/.shipyard/config/k3s/kubeconfig.yaml
VAULT_ADDR=http://vault.ingress.shipyard.run:8200
VAULT_TOKEN=root
Setting the environment variables is also possible using the Shipyard env
command:
eval $(shipyard env)
To destroy the demo simply run the following command:
shipyard destroy