First of all, you will need access to a Kubernetes cluster. The easiest way to start is minikube.
- Virtualbox - hypervisor to run a kubernetes cluster
- Minikube - for kubernetes cluster creation on local machine
- Kubectl - to interact with kubernetes cluster
Apart from kubernetes cluster, there are some tools which are needed to build and test k8s-vault-webhook.
To achieve this, execute this command:-
make build-code
k8s-vault-webhook gets packaged as a container image for running on Kubernetes cluster. These instructions will guide you to build image.
make build-image
If you want to play it on Kubernetes. You can use minikube.
#Start minikube
minikube start --vm-driver virtualbox
#Deploy the image on minikube
$ helm upgrade k8s-vault-webhook ot-helm/k8s-vault-webhook --namespace vault --install
make test